Performance penalty for using ranges

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Aug 25 12:46:31 PDT 2013


On 25/08/13 21:10, monarch_dodra wrote:
> It never clashes untill you nest two foreach, and then you have to use __ ...
>
> foreach( _ ; 0 .. M)
>      foreach( __ ; 0 .. N)
>          ...
>
> I have an enhancement request to simply allow anonymous iteration:
> foreach( ; 0 .. N)
>
> http://d.puremagic.com/issues/show_bug.cgi?id=9009

Good call. :-)



More information about the Digitalmars-d mailing list