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 | b3d3d52cd69cb6ea3848e5eb5b4b18318850142f (patch) | |
tree | 55576e9e09c53ecd786f0798d54eeb0c2720e89a /st.c | |
parent | 4e612fa60865f86322f8bf01ce5ad78ffe870d1d (diff) |
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 'st.c')
0 files changed, 0 insertions, 0 deletions