Local ('Arena') Memory Allocators (part 1 of 2)
summary
Local, subset-focused allocators outperform global new/delete and std::allocator in measured systems, with one reported case cutting a 10‑second reclamation to effectively zero and other benchmarks (source and slides on GitHub) showing order-of-magnitude runtime reductions. The practical toolbox includes monotonic allocator (stack or buffer-backed, cheap release/wink), multipool backed by global (size-class pools, fall through to global for large requests), and PMR polymorphic handles from C++17; selection uses six dimensions: fragmentability, density, variation, locality, utilization, and contention.
AI-written summary · about
