Patch #27671

Use reverse_each instead of reverse.each for better performance

Added by Go MAEDA 7 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Performance
Target version:4.0.0

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.

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

Associated revisions

Revision 17137
Added by Go MAEDA 6 months ago

Use reverse_each instead of reverse.each (#27671).

Patch by Timur Tarasenko.

History

#1 Updated by Go MAEDA 7 months ago

  • Target version set to 4.1.0

#2 Updated by Go MAEDA 6 months ago

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

Committed.

Also available in: Atom PDF