[OT] Previously: DMD - Windows -> C# in gamedev

Walter Bright newshound2 at digitalmars.com
Sun Jan 8 12:45:32 PST 2012


On 1/7/2012 3:06 PM, Manu wrote:
> A slice doesn't produce a GC allocation does it?

Nope.

> I thought a slice was just a pointer-length pair. Should live on the stack/in regs?
>
> ...so slicing static arrays shouldn't be a problem right?

Right.


> What the hell is it allocating?
> Surely that's not necessary... that's gotta be fixable?

It's fixable, just haven't spent the time to do it.


More information about the Digitalmars-d mailing list