Repository navigation
perf: worst case n log n complexity for Array.qsort - #14033
johanphenkel-cmd wants to merge 11 commits into
Conversation
Implemented ordOfLt Cleaned up and made naming more consistent Added a few explanatory comments
|
!radar |
|
Benchmark results for dadc40e against f0ef737 are in. There are significant results. @TwoFX @johanphenkel-cmd @normalifelias
Large changes (3🟥)
Medium changes (1✅, 2🟥)
Small changes (75✅, 15🟥) Too many entries to display here. View the full report on radar instead. |
|
Mathlib CI status (docs):
|
|
Reference manual CI status:
|
|
To catch up you need to at least |
|
!bench |
|
Benchmark results for 0f291d8 against f0ef737 are in. There are significant results. @hargoniX @normalifelias
Large changes (6🟥)
Medium changes (1✅, 5🟥)
Small changes (1✅, 126🟥) Too many entries to display here. View the full report on radar instead. |
|
That is quite the suprising outcome 🙃 |
|
!radar |
|
Benchmark results for c26d33b against f0ef737 are in. There are significant results. @TwoFX Warning These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Large changes (8🟥)
Medium changes (2🟥)
Small changes (1✅, 126🟥) Too many entries to display here. View the full report on radar instead. |
|
!radar |
|
Benchmark results for f278a7c against f0ef737 are in. There are significant results. @TwoFX Warning These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Large changes (3🟥)
Medium changes (2🟥)
Small changes (74✅, 29🟥) Too many entries to display here. View the full report on radar instead. |
This PR optimizes Array.qsort to no longer take quadratic time in the worst case.
Fixes #8087