[ruby-cvs:51334] nobu:r44189 (trunk): object.c: optimize rb_mod_const_get for symbol

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Dec 14 10:50:49 JST 2013


nobu	2013-12-14 10:50:49 +0900 (Sat, 14 Dec 2013)

  New Revision: 44189

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

  Log:
    object.c: optimize rb_mod_const_get for symbol
    
    * object.c (rb_mod_const_get): Symbol must be the entire name, not
      a nested constant path, so achieve by its ID directly.

  Modified files:
    trunk/object.c


More information about the ruby-cvs mailing list