Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Let's say you get a collision. Would you rather:

a) Find your correct key within the same cache-line. But, you have to check 4 more values to get there;

b) Find your correct key in the next try...But, you have to jump to another part of the array.

Once you've indexed into the array, you want to read forward from there. You don't want to jump around.

http://preshing.com/20130107/this-hash-table-is-faster-than-...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: