Nobady is going to complain about that...

rikki cattermole rikki at cattermole.co.nz
Sat Apr 25 16:39:02 UTC 2020


On 26/04/2020 4:05 AM, bauss wrote:
> 
> The problems with GC and performance are usually not in allocations, in 
> fact they can sometimes do faster allocations because they don't need to 
> always ask the system for a new memory block. Not sure how the GC in D 
> actually works entirely but I can imagine that it pre-allocates __some__ 
> memory blocks.

D's GC only collects upon allocation.

In context there is no difference here.


More information about the Digitalmars-d mailing list