You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given how interested you clearly are in sorting algorithms I would not be surprised if you are probably aware of these algorithms, but a quick search didn't show anything in the repo so that's why I'm mentioning it them
The TL;DR is that there is a bug in Timsort's merging rules, and provably fixing them lead to two new algorithms: peeksort and powersort. Powersort has recently been picked to replace Timsort in Python.
Here is Sebastian Wild, one of the authors of the paper introducing the algorithms, giving a presentation about it at PyCon US 2023: