[ruby-cvs:62313] nobu:r55150 (trunk): ruby.h: optimize rb_scan_args_set

nobu at ruby-lang.org nobu at ruby-lang.org
Wed May 25 00:23:07 JST 2016


nobu	2016-05-25 00:23:06 +0900 (Wed, 25 May 2016)

  New Revision: 55150

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

  Log:
    ruby.h: optimize rb_scan_args_set
    
    * include/ruby/ruby.h (rb_scan_args_set): check the arity after
      adjusting argc for an option hash, for optimization in simpler
      cases.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list