Y
Hacker News
new
|
ask
|
show
|
jobs
by
sltkr
84 days ago
It's not _strictly_ less work though: reservoir sampling requires generating many more random numbers. As usual, it's a tradeoff.