diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-20 02:39:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-20 02:39:27 +0000 |
commit | 2de1dbdffc99e21fc034241e581b85e4531097f4 (patch) | |
tree | ab9eb56006652e5fae3bc5dededcf91eac1c8973 /compile.c | |
parent | 8f76ad379522870d35038ed53c782812259eb4b3 (diff) | |
download | ruby-2de1dbdffc99e21fc034241e581b85e4531097f4.tar.gz |
array.c: improve Array#sample
* array.c (rb_ary_sample): improve performance when many samples
from a large array. based on the patch by tomoya ishida
<tomoyapenguin AT gmail.com> in [ruby-dev:49956]. [Bug #13136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions