[ruby-cvs:55185] nobu:r48035 (trunk): variable.c, vm_insnhelper.c: improve performance

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Oct 20 02:23:34 JST 2014


nobu	2014-10-20 02:23:31 +0900 (Mon, 20 Oct 2014)

  New Revision: 48035

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

  Log:
    variable.c, vm_insnhelper.c: improve performance
    
    * variable.c (rb_ivar_get), vm_insnhelper.c (vm_getivar): improve
      instance variable retrieval performance by checking ruby_verbose
      before call of rb_warning and evaluation of its argument.
      [ruby-core:65786] [Feature #10396]

  Modified files:
    trunk/ChangeLog
    trunk/variable.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list