[ruby-cvs:56992] nobu:r49842 (trunk): symbol.c: make dsym_fstrs an identity hash

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Mar 4 11:52:33 JST 2015


nobu	2015-03-04 11:52:32 +0900 (Wed, 04 Mar 2015)

  New Revision: 49842

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

  Log:
    symbol.c: make dsym_fstrs an identity hash
    
    * symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
      as the keys are unique fstrings, to get rid of running hash and
      compare methods and causing new object allocation during garbage
      collection phase.  [ruby-dev:48891] [Bug #10933]

  Modified files:
    trunk/ChangeLog
    trunk/symbol.c


More information about the ruby-cvs mailing list