The number of bit comparisons used by Quicksort: an average-case analysis

arXiv:1202.2595 First posted 2012-02-13 v1 Cited by 33
Cite this paper ×
BibTeX
@misc{fill2012the,
  title = {The number of bit comparisons used by Quicksort: an average-case analysis},
  author = {James Allen Fill and Svante Janson},
  year = {2012},
  eprint = {1202.2595},
  archivePrefix = {arXiv},
  primaryClass = {math.PR},
  url = {https://arxiv.org/abs/1202.2595}
}
APA
Fill, J. A., & Janson, S. (2012). The number of bit comparisons used by Quicksort: an average-case analysis [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1202.2595
GB/T 7714
FILL JA, JANSON S. The number of bit comparisons used by Quicksort: an average-case analysis[EB/OL]. (2012-02-13)[2026-11-29]. https://arxiv.org/abs/1202.2595.

Abstract

The analyses of many algorithms and data structures (such as digital search trees) for searching and sorting are based on the representation of the keys involved as bit strings and so count the number of bit comparisons. On the other hand, the standard analyses of many other algorithms (such as Quicksort) are performed in terms of the number of key comparisons. We introduce the prospect of a fair comparison between algorithms of the two types by providing an average-case analysis of the number of bit comparisons required by Quicksort. Counting bit comparisons rather than key comparisons introduces an extra logarithmic factor to the asymptotic average total. We also provide a new algorithm, "BitsQuick", that reduces this factor to constant order by eliminating needless bit comparisons.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!