On Sunday, 3 February 2013 at 20:54:29 UTC, Nick Sabalausky wrote:
Also, AIUI, "foreach(i; 0..10)" involves a range and function calls, soperhaps they want to be certain there isn't any overhead that accidentally fails to get optimized out?
There is no range or function calls! That syntax existed well before ranges were even conceived. It is nothing more than shorthand for the obvious for-loop alternative.