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
Steven Schveighoffer via Digitalmars-d Thu, 22 May 2014 11:35:41 -0700
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