-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-138946: Adaptive binary sort v2 #139969
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
base: main
Are you sure you want to change the base?
Conversation
Is your name in |
Please add more words to |
Logic is as follows:
Compared to previous attempt, this has slightly less benefit for favourable cases, but minimises impact for cases where this has no benefit.
High level benchmarks.
Unwrapped
float
/int
:float
/int
wrapped in one-elementlist
:list.sort
enhancement proposal: Adaptivity forbinarysort
#138946