30.04.2014 Views

Segmented Scan - Nvidia

Segmented Scan - Nvidia

Segmented Scan - Nvidia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cuckoo Hashing<br />

• Sequential insertion:<br />

A B C D E<br />

1. Try empty slots first<br />

2. Evict if none available<br />

h1(k)<br />

h2(k)<br />

3. Evicted key checks its other<br />

locations<br />

4. Recursively evict<br />

• Assume impossible after O(lg n)<br />

iterations<br />

— Rebuild using new hash functions<br />

A<br />

BC<br />

D<br />

D<br />

B<br />

A<br />

C<br />

Pagh and Rodler [2001]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!