[Article Submission] Have Your Efficiency, and Flexibility Too

bearophile bearophileHUGS at lycos.com
Tue May 31 05:34:59 PDT 2011


Timon Gehr:

> Nice, but isSpinnable is always checked twice with your approach.

Right. But isn't the compiler able to optimize away this inefficiency?


> I would like an explicit "static foreach" better though.

See:
http://d.puremagic.com/issues/show_bug.cgi?id=4085

Bye,
bearophile


More information about the Digitalmars-d mailing list