[ruby-dev:48404] [ruby-trunk - Bug #9942] reduce memory allocation in Array#permutation (fixed at r46416)

From: nagachika00@...
Date: 2014-07-13 14:09:17 UTC
List: ruby-dev #48404
Issue #9942 has been updated by Tomoyuki Chikanaga.

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

Backported into `ruby_2_1` branch at r46807.

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

* 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/

In This Thread

Prev Next