On Thursday, 23 April 2015 at 20:40:36 UTC, John Colvin wrote:
scopeBuffer), but in practice it's not a big win over just stack allocating the maximum size all the time (again, like scopeBuffer).

If you have a random distribution of sizes then allocating the maximum will use twice as much memory. That affects cache performance.

Reply via email to