January 02, 2015 [phobos] [D-Programming-Language/phobos] 8bb453: Fix Issue 5036 - Remove caching from Sequence | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 8bb453a983d97da27454d96875cd5c574a72241d https://github.com/D-Programming-Language/phobos/commit/8bb453a983d97da27454d96875cd5c574a72241d Author: Peter Alexander <peter.alexander.au@gmail.com> Date: 2015-01-02 (Fri, 02 Jan 2015) Changed paths: M std/range/package.d Log Message: ----------- 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 Commit: 76504e6e2eaf28517a0385fcbbe2e22d1c06f710 https://github.com/D-Programming-Language/phobos/commit/76504e6e2eaf28517a0385fcbbe2e22d1c06f710 Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2015-01-02 (Fri, 02 Jan 2015) Changed paths: M std/range/package.d Log Message: ----------- Merge pull request #2834 from Poita/Issue5036 Fix Issue 5036 - Remove caching from Sequence Compare: https://github.com/D-Programming-Language/phobos/compare/f5f1b13e2b90...76504e6e2eaf |
Copyright © 1999-2021 by the D Language Foundation