Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thomasahle
on Dec 13, 2022
|
parent
|
context
|
favorite
| on:
A neat XOR trick
Sure. We can always use a hash set, but then you need to use chaining or some other collision resolution policy. The whole of this whole exercise is to avoid that and get something really fast and truly constant time :-)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: