diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-28 07:06:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-28 07:06:06 +0000 |
commit | 1f4efb9aedfb8f537630f7c13e431bb230bebd31 (patch) | |
tree | d7216e0981d100da40540800bdd38d6ac7e73a50 /spec/ruby/language/fixtures | |
parent | 715666cc28d441862778000c56a807c9b4c28d00 (diff) | |
download | ruby-1f4efb9aedfb8f537630f7c13e431bb230bebd31.tar.gz |
rest parameter optimization [Feature #15010]
* vm_args.c: rb_ary_dup(args->rest) to be used at most once during
parameter setup. [Feature #15010]
A patch by chopraanmol1 (Anmol Chopra) <chopraanmol1@gmail.com>.
* array.c (rb_ary_behead): added to remove first n elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/language/fixtures')
0 files changed, 0 insertions, 0 deletions