by sapiogram · 2y ago · 0 comments
It is not. Arena allocators have a fundamentally different API, because they don't allow you to de-allocate individual objects in the arena - everything must be de-allocated at once. For specific workloads, like repeatedly allocating a large number of short-lived objects, this can be a huge speedup, and also significantly reduce memory usage.
https://www.cs.cornell.edu/courses/cs6120/2019fa/blog/immix/