Conference paperANALCO 2019January 2019
Sesquickselect: One and a half pivots for cache-efficient selection
- Material
This paper considers the potential of multiway partitioning in Quickselect.
Unlike for sorting, producing many segments is not necessarily helpful in selecting order statistics, but with small samples, using two pivots reduces the amount of memory transfers.
We analyze two scenarios (that require different analytical tools):
- The sought rank is random.
- The sought rank is $\alpha n$ for a fixed $\alpha\in(0,1)$.
In the first scenario, the distributional master theorem developed in my dissertation can be used to obtain expected costs for a generic version of Quickselect.
For the linear ranks, we obtain a recurrence in $n$ and $\alpha$ that in general seems too hard to solve. An asymptotic approximation is possible by solving an integral equation. We give the first elementary proof that the solution of this equation is indeed an asymptotic solution of the bivariate recurrence.
Conference talk Sesquickselect: One and a Half Pivots for Cache-Efficient Selection
The conference talk for this paper.
Reference
Conrado Martínez, Markus Nebel, and Sebastian Wild: Sesquickselect: One and a half pivots for cache-efficient selection. Meeting on Analytic Algorithmics and Combinatorics 2019 , in M. Mishna and J.I. Munro (Eds.): ANALCO 2019, SIAM, pp 54–66. doi:10.1137/1.9781611975505.6
BibTeX
@inproceedings{MartinezNebelWild2019,
title = {{Sesquickselect}: One and a half pivots for cache-efficient selection},
author = {Conrado Mart\'{i}nez and Markus Nebel and Sebastian Wild},
booktitle = {Meeting on Analytic Algorithmics and Combinatorics (ANALCO) 2019},
pages = {54--66},
publisher = {SIAM},
year = {2019},
doi = {10.1137/1.9781611975505.6},
eprint = {1810.12322},
urlHidden = {https://www.wild-inter.net/publications/martinez-nebel-wild-2019}
}
Timeline
- Jun 2018 written
- Oct 2018 arXiv 1810.12322
- Jan 2019 ANALCO 2019; conference talk at ANALCO 2019