# Analysis of Pivot Sampling in Dual-Pivot Quicksort: A Holistic Analysis of Yaroslavskiy’s Partitioning Scheme

```@article{Wild2015AnalysisOP,
title={Analysis of Pivot Sampling in Dual-Pivot Quicksort: A Holistic Analysis of Yaroslavskiy’s Partitioning Scheme},
author={Sebastian Wild and Markus E. Nebel and Conrado Mart'inez},
journal={Algorithmica},
year={2015},
volume={75},
pages={632-683}
}```
• Published 29 November 2014
• Computer Science
• Algorithmica
The new dual-pivot Quicksort by Vladimir Yaroslavskiy—used in Oracle’s Java runtime library since version 7—features intriguing asymmetries. [] Key Method Consequently, we take a more holistic approach and give also the precise leading term of the average number of swaps, the number of executed Java Bytecode instructions and the number of scanned elements, a new simple cost measure that approximates I/O costs in the memory hierarchy. We determine optimal order statistics for each of the cost measures. It…
Dual-Pivot Quicksort and Beyond: Analysis of Multiway Partitioning and Its Practical Potential
This dissertation conducts a mathematical average-case analysis of multiway Quicksort including the important optimization to choose pivots from a sample of the input and proposes a parametric template algorithm that covers all practically relevant partitioning methods as special cases, and analytically investigates in depth what effect the parameters of the generic quicksort have on its performance.
Dual-pivot and beyond: The potential of multiway partitioning in quicksort
This dissertation 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, but (b) multi way partitioning does significantly reduce the amount of data to be moved between CPU and main memory.
Sesquickselect: One and a half pivots for cache-efficient selection
• Computer Science
ANALCO
• 2019
It is shown that "Sesquickselect", a new Quickselect variant that uses either one or two pivots, makes better use of small samples w.r.t. memory transfers than other Quickselect variants.
D S ] 3 1 M ay 2 01 6 A How Good is Multi-Pivot Quicksort ?
The analysis shows that the benefits of using multiple pivots with respect to the average comparison count are marginal and these strategies are inferior to simpler strategies such as the well known median-of-k approach.
On the Convergence of the Dual-Pivot Quicksort Process
• Computer Science
• 2016
This paper discusses the convergence of the Dual-pivot Quicksort process by using the contraction method and shows the distribution of the number of comparison done by the duality process converges to a unique fixed point.
Simple and Fast BlockQuicksort using Lomuto's Partitioning Scheme
• Computer Science
ALENEX
• 2019
This paper presents simple variants of the BlockQuicksort algorithm described by Edelkamp and Weiss by using Lomuto's partitioning scheme instead of Hoare's crossing pointer technique to partition the input.
Probabilistic Analysis of the Dual-Pivot Quicksort "Count"
• Mathematics
ANALCO
• 2018
An exact formula is derived for the average number of swaps needed by "Count" as well as an asymptotic formula for the variance of the number of swapped and a limit law are identified.
Why Is Dual-Pivot Quicksort Fast?
The new dual-pivot Quicksort that is nowadays used to sort arrays of primitive types in Java is discussed, and theoretical analyses of this algorithm are sketched that offer a possible, and in my opinion plausible, explanation why this improvement was not already found much earlier.
A Comparison of Sorting Times between Java 8 and Parallel Colt: an Exploratory Experiment
• Computer Science
SOEN
• 2016
An exploratory experiment found that sorting arrays of random integers using Java 8's parallel sort required only 50%-70% of the time taken using the parallel sort of the Parallel Colt library.
Dual-Pivot Quicksort: Optimality, Analysis and Zeros of Associated Lattice Paths
• Mathematics, Computer Science
Combinatorics, Probability and Computing
• 2018
An average-case analysis of a variant of dual-pivot quicksort is presented and it is shown that the algorithmic partitioning strategy used is optimal, that is, it minimizes the expected number of key comparisons.