Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
remram
on Dec 16, 2022
|
parent
|
context
|
favorite
| on:
A neat XOR trick
In that case, you might still want to use a similar trick as a first pass (like a bloom filter), and go over the window that is potentially unique again with the HashSet. This should still be faster than using the HashSet for all windows.
https://en.wikipedia.org/wiki/Bloom_filter
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://en.wikipedia.org/wiki/Bloom_filter