[Issue 5036] Remove caching from ranges

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 26 12:28:07 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5036



--- Comment #2 from Tomasz Sowiński <tomeksowi at gmail.com> 2013-02-26 12:28:04 PST ---
The argument was the least about consistency, I recall caching got in the way
when the mapped to element was:
- used <= 1 times
- trivial to calculate (faster than read/write)
- manually allocated (harder to anticipate destruction)

Plus, front/back vs. opIndex poses problems of their own.

Why the obligation to cache?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list