On 11/4/2012 1:27 PM, Walter Bright wrote: > Such escape analysis is entirely possible with D without changing any semantics. The compiler already does a fairly primitive form of this analysis when deciding to allocate a closure on the stack or the heap.