[ruby-cvs:55519] ko1:r48369 (trunk): * string.c (sym_equal): use rb_obj_equal().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Nov 11 10:42:04 JST 2014


ko1	2014-11-11 10:42:01 +0900 (Tue, 11 Nov 2014)

  New Revision: 48369

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

  Log:
    * string.c (sym_equal): use rb_obj_equal().
      rb_obj_equal() is specially optimized in
      opt_eq_func()@vm_insnhelper.c.
      This fix is made from this discussion:
      https://www.omniref.com/ruby/2.1.4/symbols/Symbol/%3D%3D#line=8361.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list