Project

General

Profile

Actions

Patch #27671

closed

Use reverse_each instead of reverse.each for better performance

Added by Go MAEDA about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Array#reverse_each is faster than Array#reverse.each because reverse_each does not create an intermediate array.

Pull request https://github.com/redmine/redmine/pull/84 by Timur Tarasenko.


Files

use-reverse_each.diff (3.24 KB) use-reverse_each.diff Go MAEDA, 2017-11-29 03:23
Actions #1

Updated by Go MAEDA about 7 years ago

  • Target version set to 4.1.0
Actions #2

Updated by Go MAEDA almost 7 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0

Committed.

Actions

Also available in: Atom PDF