DIP 57: static foreach

bearophile bearophileHUGS at lycos.com
Sun Mar 9 16:51:52 PDT 2014


Adam D. Ruppe:

> Note that the optimizer is allowed to unroll any loop it 
> desires. You can have local variables in a regular runtime loop 
> too, but you can't refer to them outside, so the unrolling here 
> is a code generator implementation detail rather than a 
> fundamental difference in the language.

OK. So if this DIP gets accepted I will close down my issue 4085, 
because it's obsolete. All your extra explanations could be 
useful for future (probable) questions in D.learn.

Bye,
bearophile


More information about the Digitalmars-d mailing list