Project

General

Profile

Actions

Bug #9942

closed

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

Added by nagachika (Tomoyuki Chikanaga) over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
-
[ruby-dev:48292]

Description

rb_ary_permutation() allocate unnecessary large temporary array.
It's fixed at r46416.

This ticket is only for backport management.

Updated by nagachika (Tomoyuki Chikanaga) about 7 years ago

  • 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.

Updated by usa (Usaku NAKAMURA) about 7 years ago

Backported into ruby_2_0_0 at r47331.

Updated by usa (Usaku NAKAMURA) about 7 years ago

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

Also available in: Atom PDF