Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mordae
11 months ago
|
parent
|
context
|
favorite
| on:
Undergraduate shows that searches within hash tabl...
Last time I needed high occupancy I was for a cache. So I've stirred my 32b keys with Phi-mul-rshift and randomly (xor-shift) displaced picked slot old value by log2(size)/2 with linear probing of up to log2(size).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: