Issue #9942 has been reported by Tomoyuki Chikanaga. ---------------------------------------- Bug #9942: reduce memory allocation in Array#permutation (fixed at r46416) https://bugs.ruby-lang.org/issues/9942 * 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: REQUIRED ---------------------------------------- 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/