3 ms·
Memory pools are commonly allocated in a contiguous block and sliced into nodes placed onto a free list. They will be sequential until the pattern of allocation
by kevin_thibedeau 2y ago
Memory pools are commonly allocated in a contiguous block and sliced into nodes placed onto a free list. They will be sequential until the pattern of allocations mixes them up.
- kazinator 2y agoGarbage collection is good at consolidating swaths of adjacent free objects into ordered allocation.