Project

General

Profile

Actions

Patch #29299

closed

Use Enumerable#sort_by instead of Enumerable#sort

Added by Go MAEDA over 6 years ago. Updated over 6 years ago.

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

0%

Estimated time:

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

Actions #2

Updated by Go MAEDA over 6 years ago

Updated the patch. Replaced more sort methods.

Actions #3

Updated by Go MAEDA over 6 years ago

  • Description updated (diff)
Actions #4

Updated by Go MAEDA over 6 years ago

  • Target version set to Candidate for next major release
Actions #5

Updated by Go MAEDA over 6 years ago

  • Target version changed from Candidate for next major release to 4.1.0

Setting the target version to 4.1.0.

Actions #6

Updated by Go MAEDA over 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

Also available in: Atom PDF