[ruby-cvs:62204] mrkn:r55041 (trunk): Optimize each_sum for hashes

mrkn at ruby-lang.org mrkn at ruby-lang.org
Wed May 18 09:54:52 JST 2016


mrkn	2016-05-18 09:54:52 +0900 (Wed, 18 May 2016)

  New Revision: 55041

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55041

  Log:
    Optimize each_sum for hashes
    
    * enum.c (enum_sum, hash_sum, hash_sum_i, enum_sum_i, sum_iter):
      Optimize for hashes when each method isn't redefined.

  Modified files:
    trunk/ChangeLog
    trunk/enum.c


More information about the ruby-cvs mailing list