2 ms·
> And most processes end up reserving more memory than they ever actually touch. I find this assertion dubious. Explicitly pre-allocating large arenas is commo
by int_19h 4y ago
> And most processes end up reserving more memory than they ever actually touch.
I find this assertion dubious. Explicitly pre-allocating large arenas is common when micro-optimizing, which isn't something that happens for most apps out there - they just do the usual malloc/free (or equivalent) dance as needed. So for your average app, it boils down to the quality of implementation of its heap allocator. And there aren't that many of them to get right.