English

Cache Analysis of Non-uniform Distribution Sorting Algorithms

Data Structures and Algorithms 2007-08-14 v2 Performance

Abstract

We analyse the average-case cache performance of distribution sorting algorithms in the case when keys are independently but not necessarily uniformly distributed. The analysis is for both `in-place' and `out-of-place' distribution sorting algorithms and is more accurate than the analysis presented in \cite{RRESA00}. In particular, this new analysis yields tighter upper and lower bounds when the keys are drawn from a uniform distribution. We use this analysis to tune the performance of the integer sorting algorithm MSB radix sort when it is used to sort independent uniform floating-point numbers (floats). Our tuned MSB radix sort algorithm comfortably outperforms a cache-tuned implementations of bucketsort \cite{RR99} and Quicksort when sorting uniform floats from [0,1)[0, 1).

Keywords

Cite

@article{arxiv.0706.2839,
  title  = {Cache Analysis of Non-uniform Distribution Sorting Algorithms},
  author = {Naila Rahman and Rajeev Raman},
  journal= {arXiv preprint arXiv:0706.2839},
  year   = {2007}
}
R2 v1 2026-06-21T08:39:58.923Z