Transient ranges

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 14:25:12 PDT 2016


On 31.05.2016 22:59, Dicebot wrote:
>
>
>
>> I think we should be aware that the range API doesn't prevent bugs of
>> all kinds. There's only so much analysis the compiler can do.
>
> This is a totally valid code I want to actually work and not be
> discarded as "bug".

map often allows random access. Do you suggest it should cache opIndex too?


More information about the Digitalmars-d mailing list