CISSAlgorithm origin & lineage registry

AlgorithmsSortingEdit on GitHubEdit history

Bentley–McIlroy Three-Way Partitioning

1993

A three-way partitioning scheme for quicksort that gathers keys equal to the pivot at both ends of the array during partitioning and swaps them into the middle afterwards. The qsort built on it is used in BSD-derived C libraries.

Origin

Jon Louis Bentley, M. Douglas McIlroy (1993). Engineering a sort function. Software: Practice and Experience 23(11).doi:10.1002/spe.4380231105 — checked against Crossref, 2026-11-08

Lineage

Algorithms 4 · Relations 4

Parent algorithms

Where it came from
Quicksort1961OptimizationVerified90%

Author statementThe paper introduces this three-way partition while engineering a quicksort-based qsort. — doi:10.1002/spe.4380231105

Dutch National Flag Partitioning1976VariantEstimated70%

Structural analysisIt solves the same three-way partitioning problem by gathering equal keys at both ends and moving them afterwards.

Derived algorithms

What it led to
Multikey Quicksort1997CompositionVerified85%

CitationThe paper cites and uses the ternary partition of Bentley and McIlroy and notes that its complete code is similar to theirs. — collaborate.princeton.edu/en/publications/fast-algorithms-for-sorting-and-searching-strings

Notable implementations

Paths checked against the GitHub default branch

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

Claims & disputes

Loading…