Easy & huge GC optimizations
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 22 08:33:50 PDT 2014
On Thu, 22 May 2014 14:12:38 -0400, Rainer Schuetze <r.sagitario at gmx.de>
wrote:
>
> I'm not sure where allocating a struct ends up, so maybe there is some
> potential there.
It's done similarly to arrays. The function is here:
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/lifetime.d#L991
-Steve
More information about the Digitalmars-d
mailing list