Performance penalty for using ranges

monarch_dodra monarchdodra at gmail.com
Sun Aug 25 14:10:39 PDT 2013


On Sunday, 25 August 2013 at 21:01:54 UTC, bearophile wrote:
>> [* Hijacking of discussion: a while back I think I floated the 
>> idea of generalizing iota() with closed/open boundary 
>> conditions similar to those found in std.random.uniform; so 
>> e.g. you could do iota!"[]"(0, 10) and the upper bound would 
>> be included in the values returned.  Would be useful for cases 
>> like these.]
>
> Yes, it's a kind of necessary enhancement:
> http://d.puremagic.com/issues/show_bug.cgi?id=10466
>
> Bye,
> bearophile

If somebody were to implement this, I would *love* to review it.


More information about the Digitalmars-d mailing list