Transient ranges

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Sun May 29 21:22:06 PDT 2016


On Sunday, 29 May 2016 at 17:36:24 UTC, Steven Schveighoffer 
wrote:
> Wholly disagree. If we didn't cache the element, D would be a 
> laughingstock of performance-minded tests.

byLine already is a laughingstock performance wise: 
https://issues.dlang.org/show_bug.cgi?id=11810

It's way faster to read the entire file into a buffer and iterate 
by line over that.

I have to agree with Jonathan, I see a lot of proposals in this 
thread but I have yet to see a cost/benefit analysis that's pro 
transient support. The amount of changes needed to support them 
is not commensurate to any possible benefits.


More information about the Digitalmars-d mailing list