diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-24 15:23:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-24 15:23:06 +0000 |
commit | 99fe6d392bc97605cbc8c1879ccef41870ca0323 (patch) | |
tree | 55576e9e09c53ecd786f0798d54eeb0c2720e89a /ext | |
parent | 4bf51bca689332cf75c534eaf99a7c11751b93f1 (diff) | |
download | ruby-99fe6d392bc97605cbc8c1879ccef41870ca0323.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions