Hi,
In message "Re: Enumerable#zip Needs Love"
on Tue, 8 Jan 2008 23:23:16 +0900, James Gray <james / grayproductions.net> writes:
|Well, that's two points against using an Array, so maybe we are better
|of sticking with Enumerable. I do think we should still consider
|going back to back to having the result size be the length of the
|receiver though since I really feel like zip() was easier to make use
|of, in that form.
|
|> The internal was totally re-written in 1.9 using fiber, but that's OK.
|> It's our matter. In fact, I figured out how to do it while waiting
|> for your reply. And actually implemented it already. See attached
|> patch.
|
|Great. I'm glad you figured it out.
I've checked in. I think it works fine on both finite and infinite
enumerable objects, with sane performance (perhaps slower than 1.8
though).
matz.