Easy & huge GC optimizations

Etienne via Digitalmars-d digitalmars-d at puremagic.com
Fri May 23 13:53:00 PDT 2014


On 2014-05-23 3:08 PM, Rainer Schuetze wrote:
>
> AFAICT your test case does not measure garbage collection, but manual
> memory management using the GC as the memory manager. delete/free are
> not meant to be called by user code as these are unsafe operations.

Yes, you're right, the test without the explicit calls to delete unveil 
a 0.68% freed memory per collection cycle.

It's even worse than I had imagined, but it seems to fit in with how bad 
the GC appeared to slow down my applications.


More information about the Digitalmars-d mailing list