diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-03 02:27:50 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-03 02:27:50 +0000 |
commit | 574422733dd11b242ba04c02579710e42fa58a77 (patch) | |
tree | a9c92e59c4b7b8b730f1e789b59e98a173fd1b5d /benchmark/bm_so_count_words.rb | |
parent | a84bfcbf0061d30946e4d9692e9d4fa70682aef4 (diff) | |
download | ruby-574422733dd11b242ba04c02579710e42fa58a77.tar.gz |
* array.c: Improve performance of Array#shift. use shared instead of
MEMMOVE if with arguments. Patch by @ksss [fix GH-537]
* test/ruby/test_array.rb: ditto.
* benchmark/bm_array_shift.rb: Added benchmark of GH-537 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_so_count_words.rb')
0 files changed, 0 insertions, 0 deletions