[ruby-cvs:56663] naruse:r49513 (ruby_2_2): merge revision(s) 49376, 49387, 49389: [Backport #10761]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Feb 6 01:05:13 JST 2015


naruse	2015-02-06 01:05:10 +0900 (Fri, 06 Feb 2015)

  New Revision: 49513

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

  Log:
    merge revision(s) 49376,49387,49389: [Backport #10761]
    
    * st.c (st_numhash): mix float value for flonum
    
    * hash.c (rb_any_hash): ditto
    
    * benchmark/bm_hash_aref_flo.rb: new benchmark
    
    * benchmark/bm_hash_ident_flo.rb: ditto
      [Bug #10761]
    
    * benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]
    
    * marshal.c (w_object, marshal_dump): use indetity tables for
      arbitrary VALUE keys, because of performance of FLONUM.
      [Bug #10761]
    
    * marshal.c (obj_alloc_by_klass, marshal_load): ditto.

  Added files:
    branches/ruby_2_2/benchmark/bm_hash_aref_flo.rb
    branches/ruby_2_2/benchmark/bm_hash_ident_flo.rb
    branches/ruby_2_2/benchmark/bm_marshal_dump_flo.rb
  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/hash.c
    branches/ruby_2_2/internal.h
    branches/ruby_2_2/marshal.c
    branches/ruby_2_2/st.c
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list