Performance issue with GC

Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 7 14:20:30 PDT 2016


I have a little data processing program which makes heavy use of 
associative arrays, and GC almost doubles the runtime of it (~2m 
with GC disabled -> ~4m).

I just want to ask what's the best practice in this situation? Do 
I just use GC.disable and manually run GC.collect periodically?


More information about the Digitalmars-d-learn mailing list