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

Use new pivot picking method in key-value sort #134

Closed
wants to merge 5 commits into from

Conversation

r-devulap
Copy link
Contributor

No description provided.

@r-devulap r-devulap requested a review from sterrettm2 February 27, 2024 17:19
Copy link
Contributor

@sterrettm2 sterrettm2 left a comment

Choose a reason for hiding this comment

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

This looks good. The only thing I noticed is that the early exit conditions from the quicksort version aren't present here; I think they should still be able to work the same here. I suspect in a few cases, like with an array of near-constant keys, this will affect performance a fair bit.

@r-devulap
Copy link
Contributor Author

Closing in favor of #168

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