Hacker News new | ask | show | jobs
by aDyslecticCrow 51 days ago
Arena allocator cannot free. so it's usecase is less general than a normal allocator.

But imagine creating a readonly tree, working with that tree, and then disposing of the tree. This is where a arena allocator shines. It removes fragmentation almost entirely from the main allocator.