Stride in foreach ranges

Paul Jurczak pauljurczak at yahoo.com
Fri Aug 30 10:35:23 PDT 2013


On Friday, 30 August 2013 at 14:18:22 UTC, Dicebot wrote:
> On Friday, 30 August 2013 at 06:31:39 UTC, Paul Jurczak wrote:
>> BTW, DMD produces faster code when for loop is used instead, 
>> with GDC it makes no difference.
>
> This pretty much shows that there is nothing wrong in language 
> with current iota approach and it is simply problem of bad dmd 
> code generation.

DMD code generation is very good with for loops, not so good with 
foreach (see my timings in previous post).



More information about the Digitalmars-d-learn mailing list