Project

General

Profile

« Previous | Next » 

Revision 6e21b611

Added by nobu (Nobuyoshi Nakada) over 10 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e