September 25, 2014 [phobos] [D-Programming-Language/phobos] ebcc18: Range adaptor: cache | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: ebcc18e3873255510e1e8043faab25bf9a768e13 https://github.com/D-Programming-Language/phobos/commit/ebcc18e3873255510e1e8043faab25bf9a768e13 Author: monarch dodra <monarchdodra@gmail.com> Date: 2014-09-16 (Tue, 16 Sep 2014) Changed paths: M std/algorithm.d Log Message: ----------- Range adaptor: cache As discussed in this thread: http://forum.dlang.org/thread/ovbjcmogezbvsxrwfcol@forum.dlang.org This provides a range adaptor that cache the result of another range. Meant as a lazy alternative to array. Not much else to say...? Documentation might suck. Commit: 83e90a86c4a4055a3016ef164ef04a6188d49c7e https://github.com/D-Programming-Language/phobos/commit/83e90a86c4a4055a3016ef164ef04a6188d49c7e Author: Dmitry Olshansky <dmitry.olsh@gmail.com> Date: 2014-09-25 (Thu, 25 Sep 2014) Changed paths: M std/algorithm.d Log Message: ----------- Merge pull request #1364 from monarchdodra/cache Range adaptor: cache Compare: https://github.com/D-Programming-Language/phobos/compare/9e3591c09549...83e90a86c4a4 |
Copyright © 1999-2021 by the D Language Foundation