diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-13 08:34:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-13 08:34:17 +0000 |
commit | 537b4a64227aebf357a5c3f570e01be5f2f824fd (patch) | |
tree | 7b090ed0a815cfe046566f64ed76e44a3f59a520 /ChangeLog | |
parent | 95bac4f75e0f8ccaf0b54c848b6a187cda63b115 (diff) | |
download | ruby-537b4a64227aebf357a5c3f570e01be5f2f824fd.tar.gz |
array.c: combination on a shared copy
* array.c (rb_ary_combination): iterate on a shared copy, and use
array of indexes instead of array of chosen objects.
[ruby-core:63149] [Bug #9939]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Fri Jun 13 17:32:56 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> +Fri Jun 13 17:33:14 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * array.c (rb_ary_combination): iterate on a shared copy, and use + array of indexes instead of array of chosen objects. + [ruby-core:63149] [Bug #9939] * array.c (yield_indexed_values): extract from permute0(), rpermute0(), and rcombinate0(). |