[ruby-cvs:64444] eregon:r57278 (trunk): fix optimization for hash aset/aref with fstring

eregon at ruby-lang.org eregon at ruby-lang.org
Sat Jan 7 20:31:53 JST 2017


eregon	2017-01-07 20:31:53 +0900 (Sat, 07 Jan 2017)

  New Revision: 57278

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

  Log:
    fix optimization for hash aset/aref with fstring
    
    Patch by Eric Wong [ruby-core:78797].
    I don't like the idea of making insns.def any bigger to support
    a corner case, and "test_hash_aref_fstring_identity" shows
    how contrived this is.
    
    [ruby-core:78783] [Bug #12855]

  Modified files:
    trunk/hash.c
    trunk/insns.def
    trunk/internal.h
    trunk/test/ruby/test_hash.rb


More information about the ruby-cvs mailing list