Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gpderetta
on Feb 27, 2017
|
parent
|
context
|
favorite
| on:
I Wrote My Fastest Hashtable
In addition to what jbapple said, if your hash map has more than 2^32 buckets, the latency of the division is the last of your problem.
TorKlingberg
on Feb 27, 2017
[–]
Sure N (number of buckets) shouldn't be too big, but x (the input value) could be.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: