Array#sort_by! return early if sorting is useless
`Array#sort!` does that check, but `#sort_by!` always tries to sort, which is wasteful.
This commit is contained in:
parent
4a67ef09cc
commit
9826047f01
Notes:
git
2025-02-13 10:38:19 +00:00
Loading…
x
Reference in New Issue
Block a user