Issue #9942 has been updated by Usaku NAKAMURA.


Backported into `ruby_2_0_0` at r47331.

----------------------------------------
Bug #9942: reduce memory allocation in Array#permutation (fixed at r46416)
https://bugs.ruby-lang.org/issues/9942#change-48578

* Author: Tomoyuki Chikanaga
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: core
* Target version: current: 2.2.0
* ruby -v: -
* Backport: 2.0.0: REQUIRED, 2.1: DONE
----------------------------------------
rb_ary_permutation() allocate unnecessary large temporary array.
It's fixed at r46416.

This ticket is only for backport management.



-- 
https://bugs.ruby-lang.org/