On 9/09/2010 6:56 AM, Tomek Sowiński wrote:
Without -O -release the difference is even greater
Is this normal? I mean, shouldn't the compiler optimize foreach a bit
more? Or is it that I simply misunderstand generated code?
Yes, it should; that was the point of having foreach in the language:
http://www.d-programming-language.org/faq.html#foreach
I think it's just that there's always plenty of more urgent things with
DMD.
Tomek
Is there a roadmap for what things are more urgent? The OP has a
valid point in asking what is the point of the language. A decent
roadmap would help newcomers and oldcomers alike to stay with the
Holy Grail of D.
Justin