4 ms·
Iirc, there are two approaches to managing your treadmill. You either use one treadmill with a fixed size abject header/pointer. The “guts” of the object are p
by travisgriggs 4y ago
Iirc, there are two approaches to managing your treadmill.
You either use one treadmill with a fixed size abject header/pointer. The “guts” of the object are placed on a heap which gets spaghettified and fragmented pretty fast, especially if your not going to move bodies, because… real time.
The other approach is to use multiple treadmills/rings for different size objects. Different rings are then used for different sizes of objects. In this way, your heap fragmentation/locality improves, but at the added cost of indirecting on object size.