Skip to content
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

Simplifying and speeding up partialRadixSort #473

Merged
merged 1 commit into from Apr 8, 2021

Conversation

lemire
Copy link
Member

@lemire lemire commented Apr 8, 2021

This new code is simpler and seems to match (or even outmatch) competitors in #472

The proposed mechanism is that we make it easier for the compiler to lift bound checking. We also skip a buffer reinitialization.

Credit to @Ignition

Copy link
Member

@richardstartin richardstartin left a comment

Choose a reason for hiding this comment

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

This likely reduces register pressure.

@lemire lemire merged commit 12f1d20 into master Apr 8, 2021
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.

None yet

2 participants