Optimal cache-aware suffix selection
Abstract
Given string and integer , the {\em suffix selection} problem is to determine the th lexicographically smallest amongst the suffixes , . We study the suffix selection problem in the cache-aware model that captures two-level memory inherent in computing systems, for a \emph{cache} of limited size and block size . The complexity of interest is the number of block transfers. We present an optimal suffix selection algorithm in the cache-aware model, requiring block transfers, for any string over an unbounded alphabet (where characters can only be compared), under the common tall-cache assumption (i.e. , where ). Our algorithm beats the bottleneck bound for permuting an input array to the desired output array, which holds for nearly any nontrivial problem in hierarchical memory models.
Cite
@article{arxiv.0902.1737,
title = {Optimal cache-aware suffix selection},
author = {Gianni Franceschini and Roberto Grossi and S. Muthukrishnan},
journal= {arXiv preprint arXiv:0902.1737},
year = {2009}
}