Skip to content

Keep heapsorts implementation equal to std #950

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
Jun 24, 2022

Conversation

ritchie46
Copy link
Contributor

rust-lang/rust#93765 shows
a 10% speedup and had been merged into std.

Given that rayon's code was an exact copy of the
heapsort in std, this PR implements the same
optimization.

rust-lang/rust#93765 shows
a 10% speedup and had been merged into std.

Given that rayon's code was an exact copy of the
heapsort in std, this PR implements the same
optimization.
@cuviper
Copy link
Member

cuviper commented Jun 24, 2022

Great, thanks!

bors r+

@bors bors bot merged commit b5eef26 into rayon-rs:master Jun 24, 2022
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