Fully dynamic d by opDotExp overloading

BCS none at anon.com
Sat Apr 18 08:38:45 PDT 2009


Hello bearophile,

> Andrei Alexandrescu:
> 
>> I know, but at about the fiftienth one you get sick of it.
>> 
> In some situations static loops can be useful, but in general isn't
> the compiler supposed to be able to perform loop unrolling by itself,
> according to compilation arguments and according to how much code is
> present into the loop? (if it's too much code then loop unrolling is
> to be avoided).
> 
> Bye,
> bearophile

It's not just loop unrolling as some loops can't be "rolled" in the first 
place, like when one of the loop variables is a type or you need to static 
if on the index.





More information about the Digitalmars-d mailing list