CISSAlgorithm origin & lineage registry

AlgorithmsSortingEdit on GitHubEdit history

Powersort

2018

A stable mergesort that detects natural runs and decides the merge order from the 'power' of the boundary between neighbouring runs. It adapts nearly optimally to existing runs and is used as the merge-ordering strategy of CPython's list.sort.

Origin

J. Ian Munro, Sebastian Wild (2018). Nearly-Optimal Mergesorts: Fast, Practical Sorting Methods That Optimally Adapt to Existing Runs. ESA 2018 (LIPIcs 112).arXiv:1805.04154 — checked against arXiv, 2026-11-08The same paper also introduced Peeksort.

Lineage

Algorithms 5 · Relations 4

Parent algorithms

Where it came from
Timsort2002OptimizationVerified90%

Author statementCPython's listsort.txt records that Timsort's merge-ordering strategy was replaced by the powersort strategy of Munro and Wild. — github.com/python/cpython/blob/main/Objects/listsort.txt

Notable implementations

Paths checked against the GitHub default branch

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…