A collection of DIPs

via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 9 11:51:09 PDT 2015


On Wednesday, 9 September 2015 at 18:21:32 UTC, NX wrote:
> The more you don't collect, the more time it takes time to 
> collect; thus, you may want to configure GC to do it's job more 
> often so it doesn't stop significantly, and also manually 
> trigger collection where appropriate...

Maybe that is true for the current collector since it does 
finalization, but in general it is the live objects that 
dominates collection time, not the dead object. Though you might 
get some other issues like memory fragmentation if you don't 
collect.



More information about the Digitalmars-d mailing list