Practice free →
Home › Per Gregory + Acton, a POOL ALLOCATOR is typical…

Per Gregory + Acton, a POOL ALLOCATOR is typically used for objects that share which property?

AAllocations larger than 1 MB only
BAllocations that never get freed at all
CStrictly distinct sizes and lifetimes
DSame fixed size and similar lifetime
Answer & Solution
Correct answer: D. Same fixed size and similar lifetime
Gregory Ch. 6: pool keeps a free-list of fixed-size slots; alloc/free are O(1) and avoid fragmentation. Perfect for bullets, particles, network packets.
Solve this in the app — Practice practice & 24k+ MCQs →
Related questions