[ruby-cvs:61308] akr:r54147 (trunk): * enum.c (enum_inject): Implement the specialized code for sum of

akr at ruby-lang.org akr at ruby-lang.org
Thu Mar 17 18:50:20 JST 2016


akr	2016-03-17 18:50:19 +0900 (Thu, 17 Mar 2016)

  New Revision: 54147

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

  Log:
    * enum.c (enum_inject): Implement the specialized code for sum of
      integers including Bignums.
    
    * internal.h (rb_fix_plus): Declared to be usable from enum_inject.
    
    * numeric.c (rb_fix_plus): Defined.

  Modified files:
    trunk/ChangeLog
    trunk/enum.c
    trunk/internal.h
    trunk/numeric.c
    trunk/test/ruby/test_enum.rb


More information about the ruby-cvs mailing list