AlgorithmsSortingEdit on GitHubEdit history
Pattern-defeating Quicksort
pdqsort2021
An unstable hybrid sort that extends introsort to detect sorted, reverse-sorted, and repeated patterns, and shuffles pivots on adversarial inputs.
Origin
Orson R. L. Peters (2021). Pattern-defeating Quicksort. arXiv.arXiv:2106.05123 — checked against arXiv, 2026-11-08C++ implementation released before the paper; adopted by the Rust and Go standard libraries
Lineage
Algorithms 6 · Relations 6
Parent algorithms
Where it came from
Introsort1997
Author statementThe paper introduces pdqsort as an extension of introsort — arXiv:2106.05123
BlockQuicksort2016
Author statementThe pdqsort source states that its branchless partitioning is derived from BlockQuicksort by Edelkamp and Weiss. — github.com/orlp/pdqsort/blob/master/pdqsort.h
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…