Hacker News new | ask | show | jobs
by moomin 3286 days ago
I think it reduces fragmentation in the other pools, not the string pool.
1 comments

Bingo. This helps restrict the fragmentation from dynamic strings to one pool of memory, allowing the others to remain nicely packed, aligned, etc (whatever your ideal for them is).