GCs in the news

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 15:27:51 PDT 2014


On Thursday, 17 July 2014 at 22:21:54 UTC, Brad Anderson wrote:
> Well the idea is that you then copy into an output range with 
> whatever allocation strategy you want at the end. There is 
> quite a bit of overlap I think. Not complete overlap and 
> OutputRange accepting functions will still be needed but I 
> think we should prefer the lazy approach where possible.

It is not always possible - sometimes resulting range element 
must be already "cooked" object. I do agree it is a powerful 
default when feasible though. At the same time simple output 
range overloads is much faster to add.


More information about the Digitalmars-d mailing list