English

CacheDiff: Fast Random Sampling

Data Structures and Algorithms 2015-12-03 v1

Abstract

We present a sampling method called, CacheDiff, that has both time and space complexity of O(k) to randomly select k items from a pool of N items, in which N is known.

Cite

@article{arxiv.1512.00501,
  title  = {CacheDiff: Fast Random Sampling},
  author = {Dai Nguyen Bui},
  journal= {arXiv preprint arXiv:1512.00501},
  year   = {2015}
}
R2 v1 2026-06-22T11:59:07.746Z