by NKosmatos · 2y ago · 0 comments
On the funny side of this, what would happen if we kept adding cotton candies at an empty/isolated place in space? After some critical mass, the cotton candies would collapse under their own weight/mass and a new asteroid would be created. If we kept adding even more candies a further collapse would create a new planet :-)
Imagine stacking/accumulating different materials. A planet made just of bananas, a planet made of only water, a planet from rice…
/note to self - check if there is such a planet simulator available
We're so used to surface area scaling at r^2 and volume scaling at r^3 and the weird effects that can have (never scale up an exothermic reaction), but the maximum amount of matter that can exist in a volume without creating a black hole scales by r^1. Even with cotton candy, that r^3 is going to out-scale r^1 at some point.
It's an interesting thought experiment for algorithm complexity as well. Can you actually retrieve an element from an array in constant time regardless of the size of the array? In the extreme case, the drive containing the array must have r proportional to the size of the array to avoid becoming a black hole. Assuming the query and element travel along the drive at the speed of light, retrieving the element still takes time proportional to the size of the array.
Lol!