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

Meta algorithm #2

Closed
LifeIsStrange opened this issue Apr 22, 2022 · 1 comment
Closed

Meta algorithm #2

LifeIsStrange opened this issue Apr 22, 2022 · 1 comment

Comments

@LifeIsStrange
Copy link

Noob question, end users would love a solution that is optimal in all cases.
As such, couldn't you detect cases where pdqsort or fluxsort are expected to be optimal and switch to them at runtime automatically ?

@scandum
Copy link
Owner

scandum commented Apr 23, 2022

This is something crumsort already does, it switches to quadsort if doing so is beneficial.

Crumsort can't switch to fluxsort as that would turn it into an out-of-place sort.

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

No branches or pull requests

2 participants