lazylist / 0.3.2
| Short description: | Implementation of lazy lists for Ruby | |||||
|---|---|---|---|---|---|---|
| Category: | Library/Datastructure | |||||
| Status: | stable | |||||
| Created: | 2003-12-09 15:26:00 GMT | |||||
| Last update: | 2009-07-25 18:18:49 GMT | |||||
| Owner: | Florian Frank (Projects of this owner) | |||||
| Homepage: | http://flori.github.com/lazylist | |||||
| Download: | http://www.ping.de/~flori/lazylist-0.3.2.tgz | |||||
| License: | GPL | |||||
| Dependency: |
|
|||||
| Description: | This class implements lazy lists (or streams) for Ruby. Such lists avoid the computation of values which aren’t needed for some computation. So it’s possible to define infinite lists with a limited amount of memory. A value that hasn’t been used yet is calculated on the fly and saved into the list. A value which is used for a second time is computed only once and just read out of memory for the second usage. |
|||||
| Versions: | [0.3.2 (2009-07-25)] [0.3.1 (2007-11-27)] [0.3.0 (2007-05-05)] [0.2.2 (2005-12-23)] [0.2.1 (2005-12-21)] [0.2.0 (2005-10-08)] [0.1.3 (2005-10-01)] [0.1.2 (2004-10-02)] [0.1.1 (2004-06-14)] | |||||