Logo des Repositoriums
 

Dual-pivot and beyond: The potential of multiway partitioning in quicksort

dc.contributor.authorWild, Sebastian
dc.date.accessioned2021-06-21T10:10:38Z
dc.date.available2021-06-21T10:10:38Z
dc.date.issued2018
dc.description.abstractSince 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.en
dc.identifier.doi10.1515/itit-2018-0012
dc.identifier.pissn2196-7032
dc.identifier.urihttps://dl.gi.de/handle/20.500.12116/36610
dc.language.isoen
dc.publisherDe Gruyter
dc.relation.ispartofit - Information Technology: Vol. 60, No. 3
dc.subjectQuicksort
dc.subjectmultiway partitioning
dc.subjectaverage-case analysis
dc.subjectcache misses
dc.subjectexternal-memory model
dc.titleDual-pivot and beyond: The potential of multiway partitioning in quicksorten
dc.typeText/Journal Article
gi.citation.endPage177
gi.citation.publisherPlaceBerlin
gi.citation.startPage173

Dateien