From: Pit Capitain Date: 2001-08-25T21:53:18+09:00 Subject: [ruby-talk:20367] Re: Iterators (was Re: ++ Operator) On 25 Aug 2001, at 10:11, Dave Thomas wrote: > Brian Marick writes: > > > At 08:55 AM 8/24/01, you wrote: > > >Have you seen knu's 'iterator.rb' module in rough/lib? > > You have to get it via CVS: > > cvs.ruby-lang.org/src co rough > The difference between Knu's iterator and the one I posted yesterday in [ruby-talk:20270] is that Knu's code is much easier to read (it doesn't use those "weird callcc hacks"), but it initially converts every enumerable into an array, which could sometimes require too much space and/or time. Pit