From: Michael Neumann Date: 2004-06-19T19:28:28+09:00 Subject: Re: [RCR] More enumerator functionality On Fri, Jun 18, 2004 at 10:13:25PM +0900, Kristof Bastiaensen wrote: > On Fri, 18 Jun 2004 21:28:45 +0900, Michael Neumann wrote: > > [...] > > > > > That's a more general form, as after the "lazy", all Enumerable > > operations do not create intermediate arrays. Of course, it's very slow > > compared to the non-lazy methods (Generator uses continuations). > > > > > That's interesting. > If I am correct, your collect_lazy and lazy.collect behaves the same as > enum_for with a block. Your select_lazy and lazy.select the same as > enum_if. I don't know what enum_for is doing, but select_lazy is the same as enum_if, only it's implementation is very different. Regards, Michael