From: Eric Wong Date: 2014-01-05T03:45:54+00:00 Subject: [ruby-core:59557] Re: [ruby-trunk - Feature #9362][Assigned] Minimize cache misshit to gain optimal speed Eric Wong wrote: > Only one failure left (doesn't happen on my 32-bit, only amd64 Debian wheezy): > > 1) Error: > TestGemSpecification#test_to_ruby_nested_hash: > ArgumentError: comparison of Hash with nil failed > /home/ew/ruby/lib/rubygems/specification.rb:2127:in `sort' > /home/ew/ruby/lib/rubygems/specification.rb:2127:in `ruby_code' > /home/ew/ruby/lib/rubygems/specification.rb:2272:in `to_ruby' > /home/ew/ruby/test/rubygems/test_gem_specification.rb:2091:in `test_to_ruby_nested_hash' Fixed, it turned out to be more serious than I thought: commit 4e4aa22a8def67ed080cb223168905547f776224 hash.c: do not explode on Hash#hash This fixes exploding of recursive hashes, as inserting the hash into itself would trigger an explode and lead to a corrupted hash and wasted memory. git pull git://80x24.org/ruby.git pull-495-fixes