Tango vs Phobos

Walter Bright newshound1 at digitalmars.com
Mon Aug 18 12:36:28 PDT 2008


Bruno Medeiros wrote:
> But in reading Frank Benoit's post in the full closure thread below, 
> I've already seen one meanwhile. I didn't know the compiler 
> heap-allocated a local in every situation where a local is used as an 
> outer variable. That indeed puts a serious burden on the use of scoped 
> closures :(

It doesn't do it in every situation. It does it in a situation where a 
pointer is taken to a function that accesses it.



More information about the Digitalmars-d mailing list