Reduce memory allocation in Array#permutation (fixed at r46416)

Issue #9942 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1:
DONE


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

  • Author: Tomoyuki C.
  • Status: Closed
  • Priority: Normal
  • Assignee: Nobuyoshi N.
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: -
  • Backport: 2.0.0: DONE, 2.1: DONE