[Issue 5036] Remove caching from ranges

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 2 23:49:28 PST 2015


https://issues.dlang.org/show_bug.cgi?id=5036

--- Comment #6 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/8bb453a983d97da27454d96875cd5c574a72241d
Fix Issue 5036 - Remove caching from Sequence

This appears to be the last caching range in Phobos.

This is a potentially breaking change: we lose the ability to moveFront, and
obviously there may be performance implications if the function is expensive
and users are calling front more than once. I think this is still a worthwhile
change since it is better to have a uniform policy of no caching on ranges
rather than arbitrary selection of ranges that do caching.

https://issues.dlang.org/show_bug.cgi?id=5036

https://github.com/D-Programming-Language/phobos/commit/76504e6e2eaf28517a0385fcbbe2e22d1c06f710
Merge pull request #2834 from Poita/Issue5036

Fix Issue 5036 - Remove caching from Sequence

--


More information about the Digitalmars-d-bugs mailing list