[ruby-cvs:50411] nobu:r43269 (trunk): compile.c, vm.c: reduce hash merge

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Oct 13 12:16:55 JST 2013


nobu	2013-10-13 12:16:54 +0900 (Sun, 13 Oct 2013)

  New Revision: 43269

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

  Log:
    compile.c, vm.c: reduce hash merge
    
    * compile.c (compile_array_): no hash to merge if it is empty.
    * vm.c (m_core_hash_merge_kwd): just check keys if only one argument
      is given, without merging.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/vm.c


More information about the ruby-cvs mailing list