Dual-pivot and beyond: The potential of multiway partitioning in quicksort
Autor(en):
Zusammenfassung
Since 2011 the Java runtime library uses a Quicksort variant with two pivot elements. For reasons that remained unclear for years it is faster than the previous Quicksort implementation by more than 10 %; this is not only surprising because the previous code was highly-tuned and is used in many programming libraries, but also since earlier theoretical investigations suggested that using several pivots in Quicksort is not helpful. In my dissertation I proved by a comprehensive mathematical analysis of all sensible Quicksort partitioning variants that (a) indeed there is hardly any advantage to be gained from multiway partitioning in terms of the number of comparisons (and more generally in terms of CPU costs), but (b) multiway partitioning does significantly reduce the amount of data to be moved between CPU and main memory. Moreover, this more efficient use of the memory hierarchy is not achieved by any of the other well-known optimizations of Quicksort, but only through the use of several pivots.
- Vollständige Referenz
- BibTeX
Wild, S.,
(2018).
Dual-pivot and beyond: The potential of multiway partitioning in quicksort.
it - Information Technology: Vol. 60, No. 3.
Berlin:
De Gruyter.
(S. 173-177).
DOI: 10.1515/itit-2018-0012
@article{mci/Wild2018,
author = {Wild, Sebastian},
title = {Dual-pivot and beyond: The potential of multiway partitioning in quicksort},
journal = {it - Information Technology},
volume = {60},
number = {3},
year = {2018},
,
pages = { 173-177 } ,
doi = { 10.1515/itit-2018-0012 }
}
author = {Wild, Sebastian},
title = {Dual-pivot and beyond: The potential of multiway partitioning in quicksort},
journal = {it - Information Technology},
volume = {60},
number = {3},
year = {2018},
,
pages = { 173-177 } ,
doi = { 10.1515/itit-2018-0012 }
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.1515/itit-2018-0012
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
ISSN: 2196-7032
Datum: 2018
Sprache:
(en)
(en)
Typ: Text/Journal Article

