Re: Extension proposal
| From: | Alexey Zakhlestin | Date: | Fri, 26 Oct 2007 08:06:09 +0000 |
| Subject: | Re: Extension proposal | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4909@lists.php.net to get a copy of this message | ||
On 10/26/07, Antony Dovgal <tony@daylessday.org> wrote:
> What's the advantage of it? (except that it's like Python).
> Also I don't see any differences from range() in the example code given above.
Advantage is memory-usage.
it uses iterator and not creating in-memory array
think of it as of "lazy array"
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/