Y
Hacker News
new
|
ask
|
show
|
jobs
by
noctune
240 days ago
I built something similarly a few years ago for `sort | uniq -d` using sketches. The downside is you need two passes, but still it's overall faster than sorting:
https://github.com/mpdn/sketch-duplicates