Garbage Collector

Ali Çehreli acehreli at yahoo.com
Fri Nov 30 15:35:16 PST 2012


On 11/30/2012 03:21 PM, js.mdnq wrote:

 > I noticed that in both x64 and x86 builds the GC seems to get
 > exponentially slower as the objects are allocated.

[...]

 > Since the sample code

that you have forgotten to show ;)

 > allocates objects sequentially without any
 > deallocation it seems there is a huge "bug" in the GC code.

Possible.

 > Can we expect improvements of the GC at in time in the near
 > future(months, not years)?

Yes. There is already a precise GC implementation for D, which should be 
available with dmd as early as 2.062.

Ali



More information about the Digitalmars-d mailing list