3 ms·
So for those of us who aren’t hanging on every update in the Python universe, what is the default sort in Python now? All I recall is that Timsort got dethroned
by hinkley 2y ago
So for those of us who aren’t hanging on every update in the Python universe, what is the default sort in Python now? All I recall is that Timsort got dethroned and the author seems to be behaving like it’s some big secret to be kept from the plebs.
Edit: all the way at the bottom of page 6: timsort+powersort
- vanderZwan 2y agoPowersort is pretty neat, here's a blog post with links to talks about it by one of the authors: https://www.wild-inter.net/posts/powersort-in-python-3.11 https://www.wild-inter.net/posts/powersort-in-python-3.11