Stop frame stutters in Pixelforge's engine with a fixed-size block allocator: an intrusive free list, alignment, misuse detection, then a typed object pool with RAII handles.
Block pool
Fixed-size, aligned blocks from one buffer, an O(1) intrusive free list, and loud errors for misuse.
Object pool
A template that constructs objects in pool blocks, destroys them correctly, and hands out unique_ptr handles.
Pools that grow
Allocate further chunks when the pool runs out, without moving existing objects.