[ruby-cvs:52735] nobu:r45589 (trunk): enum.c: make each_slice and each_cons more efficient

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Apr 15 12:49:56 JST 2014


nobu	2014-04-15 12:49:55 +0900 (Tue, 15 Apr 2014)

  New Revision: 45589

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45589

  Log:
    enum.c: make each_slice and each_cons more efficient
    
    * enum.c (enum_each_slice, enum_each_cons): make more efficient by
      allocating less and recycling block argument arrays if possible.
      [Fixes GH-596]

  Modified files:
    trunk/ChangeLog
    trunk/enum.c


More information about the ruby-cvs mailing list