‚ˆ‚‹‚‹hopscotch hashing

Download ‚ˆ‚‹‚‹Hopscotch hashing

If you can't read please download the document

Post on 22-Jun-2015

2.568 views

Category:

Documents

5 download

Embed Size (px)

TRANSCRIPT

  • 1. Hopscotch Hashing@kumagi

2. Locking!!!! Lock-free Lock-free 3. Hashmap RubyPerlPython C++unordered_mapJavaHashMap O(1) 4. 8Hashor 5. 6. 7. Hash 8. OpenClosed AddressingAddressingor 9. Closed Addressing 10. Closed Addressing 11()Closed O(1) LinearHash 11. Open Addressing 12. Open Addressing 13. ( )Liner ProbingQuadratic Probing 1, 2, 4, 8, 16Double Hashing Hash(x) 14. Open Addressing HashOpen Linear Probing) 15. 16. Cuckoo Hashing OpenAddressingClosedAddressing 22 TAoCP 17. Cuckoo Hashing 2212 Hash1(y)Hash1(x) Hash2(x) Hash2(y) ( 22 18. Cuckoo Hashing 2 2 19. Hopscotch!OpenAddressingLinearProbing OpenAddressing OpenAddressing 20. What is Hopscotch? 21. Hop Hop1 8bit 1word 11001010 10 22. Hashmap Hop 1wordbitor O1 11001010 12 3 44bit4 23. Hopscotch 1 110010102 3 12 3 44 24. 8 11010100 11001010 25. 8 Hop8word bit 26. 8 Hop8word bit 27. 8 Hop swap Hop1wordswap 01010100 swap 28. 8 Hop swap Hop1wordswap 00010110 swap 29. 8 Hop swap Hop1wordswap 1word swap 30. 8 Hop swap Hop1wordswap 1word swap 31. 32. Hop 11001011 33. Hopbit 11001010 34. Hopbit 11000010 35. Hop Hash 1wordbit 211wordbit Boost::unordered_map https://gist.github.com/2943289

Recommended

View more >