(no title)
artur44 | 2 months ago
It’s also a good reminder that clarity of layout often beats more “clever” designs, especially when the dataset fits comfortably in memory.
artur44 | 2 months ago
It’s also a good reminder that clarity of layout often beats more “clever” designs, especially when the dataset fits comfortably in memory.
hinkley|2 months ago
My best documented case was a 10x speed up from removing a double lookup that was killing caches.
crest|2 months ago
saltcured|2 months ago
I've nearly always had a variable length string or other complex structure that was being hashed, not their handles.
Back in my early career in C, this would be a generic API to hash and store void pointers, but the pointers were not being hashed. The domain-specific hash function needed to downcast and perform the appropriate remote memory access to fetch the variable-length material that was actually being hashed.
jasonwatkinspdx|2 months ago
You can use more elaborate probe and relocation schemes, but just choosing the less full bucket and resizing if both choices are full gets you surprisingly far.
kccqzy|2 months ago