Skip to content

update Lib.sort comment and relax its tests #3124

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

Merged
merged 1 commit into from
Oct 18, 2018
Merged

Conversation

antoinerg
Copy link
Contributor

Fix Lib.sort's tests which are failing in Chrome v70+.

Background:
Chrome v70+ introduces a new implementation of Array.prototype.sort which optimizes sorting pre-sorted arrays. Our own Lib.sort doesn't win the shootout anymore so the tests have to be relaxed to reflect that. Beating the browser was only gravy anyway.

Thanks to @Marc-Andre-Rivet for pointing this out to me :)

@antoinerg antoinerg self-assigned this Oct 18, 2018
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! 💃

@antoinerg antoinerg merged commit 6de0042 into master Oct 18, 2018
@antoinerg antoinerg deleted the lib-sort-update branch October 18, 2018 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants