Patch #27671

Use reverse_each instead of reverse.each for better performance

Added by Go MAEDA 15 days ago. Updated 15 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Performance
Target version:4.1.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

History

#1 Updated by Go MAEDA 15 days ago

  • Target version set to 4.1.0

Also available in: Atom PDF