ruby-cvs:22189
From: matz ruby-lang.org
Date: Tue, 8 Jan 2008 18:50:02 +0900 (JST)
Subject: [ruby-cvs:22189] Ruby:r14952 (trunk): * enum.c (enum_zip): honor length of the receiver, not the
matz 2008-01-08 18:50:01 +0900 (Tue, 08 Jan 2008)
New Revision: 14952
Modified files:
trunk/ChangeLog
trunk/array.c
trunk/enum.c
trunk/enumerator.c
Log:
* enum.c (enum_zip): honor length of the receiver, not the
shortest length. [ruby-core:14738]
* enum.c (enum_zip): returns array not enumerator for no block
form. [ruby-core:14738]
* enumerator.c (next_ii): do not ignore multiple values yielded.
* array.c (rb_ary_zip): faster version without creating generators.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=14952&r2=14951&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14952&r2=14951&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enum.c?r1=14952&r2=14951&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enumerator.c?r1=14952&r2=14951&diff_format=u