On Sunday, 14 February 2016 at 11:14:59 UTC, Andrei Alexandrescu wrote:
We can do the same, but we also have a better alternative. Most of our allocators support shrink-in-place. For now I haven't exposed it as a primitive but that's short work. When the object goes away we can shrink memory in place to only the length of the metadata.

This will lead to massive memory fragmentation. When you allocate a lot of objects they tend to be of the same size...

Reply via email to