Cleaned up C++

via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 23 15:00:45 PDT 2015


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.


More information about the Digitalmars-d mailing list