Am Wed, 19 Oct 2016 19:25:39 +0000 schrieb TheGag96 <[email protected]>:
> On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote: > > On the other hand LDC subjectively offers a couple more D > > specific enhancements, like turning GC allocations into stack > > allocations in trivial cases > > Whoa, seriously? I know it's a bit off-topic, but do you have a > code example of where this would happen? That's amazing! Sorry, I don't have a concrete example. David Nadlinger keeps emphasizing that the escape analysis is extremely simple. Try a function with only "auto test = new Object;" in it and extend from there using the "-vgc" switch to see when it starts to fail. -- Marco
