GC.disable and GC.reserve are applicable. I tested with these and they did help but not a ton.
On Feb 10, 2012, at 5:54 AM, "Oliver Plow" <saxo...@gmx.de> wrote: >>> I wonder how much it helps to just optimize the GC a little. How much >>> does the performance gap close when you use DMD 2.058 beta instead of >>> 2.057? This upcoming release has several new garbage collector >>> optimizations. If the GC is the bottleneck, then it's not surprising > > Is there a way to "turn off" the GC, e.g. a compiler switch to set the heap > size to a large number so that the GC is likely not to set in? I searched > through this page: > http://www.d-programming-language.org/dmd-windows.html#switches But couldn't > find anything helpful. Then you could measure the thing with GC "turned off" > to see whether the GC is the problem or not. > > -- Oliver > > -- > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de