Refactor #10584
closed
Replace sort.uniq with uniq.sort
Added by Tomer Brisker over 9 years ago.
Updated over 6 years ago.
Description
Sort usually runs in O(nlogn) while uniq runs in O(n).
If n is reduced by uniq it will improve the runtime, otherwise it will make no significant difference.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2406 added
- Pull request deleted (
)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 35
Also available in: Atom
PDF