Re:On Counting (2017)
by dswalter on Thursday May 24, 2018 @08:54AM
(#17143462)
Bloom filters could do it. https://en.wikipedia.org/wiki/Bloom_filter
[ Parent
| on HN ]
It's possible with hash tables too...
Also, the Unix approach can do something like this by spitting out days at a time and sorting them, and then doing a
sort -m "$month/*" | uniq -c
on the individual files.`sort -m` takes basically no memory, and should chew through data fast enough.
Are you pulling that joke every time someone asks something you think you know the answer to? It's kind of contradictory.
I've edited my response, but I think you misunderstand the comic.
Re:On Counting (2017)
by reificator on Thursday May 24, 2018 @12:20PM
(#17145528)
Was it the XKCD Ten Thousand comic?