std.allocator needs your help

Dicebot public at dicebot.lv
Tue Sep 24 10:05:22 PDT 2013


On Tuesday, 24 September 2013 at 16:58:27 UTC, Peter Alexander 
wrote:
> The cost of a few cycles really doesn't matter for memory 
> allocation... If you are really allocating memory so frequently 
> that those few extra cycles matter then you are probably going 
> to be memory bound anyway.

It is true if you are using malloc. Not for pool allocator or 
scratchpad allocator or similar performance-enhancing allocator.


More information about the Digitalmars-d mailing list