Project

General

Profile

« Previous | Next » 

Revision b3803cc4

Added by tenderlovemaking (Aaron Patterson) over 12 years ago

  • hash.c (initialize_copy): copy the underlying st_table on dup,
    rather than copying the hash key by key. [ruby-core:48009]

  • test/ruby/test_hash.rb: relevant tests for initialize_copy

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e