-
Notifications
You must be signed in to change notification settings - Fork 379
Add Array#sort.reverse vs Array#sort_by with block #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Should really be compared with |
Comparing https://github.com/JuanitoFatas/fast-ruby/blob/master/code/enumerable/sort-vs-sort_by.rb Comparing |
Did you mean, |
@semaperepelitsa agreed. Updated.
@ixti typo, should be
@ixti yes I know, I wrote it. This PR differs by 50%.
@ParadoxV5 yes updated (though no |
Though technically this is comparing |
@sshaw Not sure if the Also, should compare with P.S. @ixti The above file does not sort |
I still think this comparison is weird and very niche - it has meaning only when the object is an @ParadoxV5 I know that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sshaw Thanks for submitting this! I think it adds value to the project.
No description provided.