[ruby-cvs:52124] nagachika:r44979 (ruby_2_0_0): merge revision(s) r42224, r42225, r42226, r42227, r42228, r42229, r42232: [Backport #8703]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Feb 16 00:43:03 JST 2014


nagachika	2014-02-16 00:43:02 +0900 (Sun, 16 Feb 2014)

  New Revision: 44979

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

  Log:
    merge revision(s) r42224,r42225,r42226,r42227,r42228,r42229,r42232: [Backport #8703]
    
    * hash.c (rb_hash_assoc): performance improvement by replacing
      compare function in RHASH(hash)->ntbl->type temporarily.
    
    * hash.c (rb_hash_assoc): aggregate object can be initialized only
      with link time constants.
    
    * hash.c (rb_hash_initialize_copy): clear old table before copy new
      table.
    
    * hash.c (rb_hash_initialize_copy): copy st_table type even if empty.
      [ruby-core:56256] [Bug #8703]
    
    * hash.c (rb_hash_initialize_copy): copy st_table type even if empty.
      [ruby-core:56256] [Bug #8703]
    
    * hash.c (rb_hash_initialize_copy): clear old table before copy new
      table.
    
    * hash.c (rb_hash_assoc): aggregate object can be initialized only
      with link time constants.
    
    * hash.c (rb_hash_assoc): revert r42224. table->type->compare is
      called only if hashes are matched.
    
    * test/ruby/test_hash.rb: add a test to check using #== to compare.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/hash.c
    branches/ruby_2_0_0/test/ruby/test_hash.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list