Comment by 1718627440
8 hours ago
> consider using your own arena allocator (which gets a larger block of memory with a one-time call of malloc, then calls an in-process allocator that assigns part of that block);
This is what malloc already does. Unless you intend to have multiple different arenas in your program, this is just unnecessary complexity.
No comments yet
Contribute on Hacker News ↗