Actions
Patch #29299
closedUse Enumerable#sort_by instead of Enumerable#sort
Description
According to Fast Ruby, Enumerable#sort_by
is much faster than Enumerable#sort
. You can read details on https://github.com/JuanitoFatas/fast-ruby#enumerablesort-vs-enumerablesort_by-code.
This patch replaces sort with sort_by to improve performance.
Files
Updated by Go MAEDA about 6 years ago
Updated by Go MAEDA about 6 years ago
Updated the patch. Replaced more sort
methods.
Updated by Go MAEDA about 6 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA about 6 years ago
- Target version changed from Candidate for next major release to 4.1.0
Setting the target version to 4.1.0.
Updated by Go MAEDA about 6 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version changed from 4.1.0 to 4.0.0
Actions