You Can Do Better than std - unordered_map - New Improvements to Hash Table Performance

You Can Do Better than std - unordered_map - New Improvements to Hash Table Performance

CppNow via YouTube Direct link

Performance of standard containers

3 of 28

3 of 28

Performance of standard containers

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

You Can Do Better than std - unordered_map - New Improvements to Hash Table Performance

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Why talk about hash tables?
  3. 3 Performance of standard containers
  4. 4 Vs linear search
  5. 5 Why are hash tables slow?
  6. 6 Talk Preview
  7. 7 What should we measure?
  8. 8 Optimization 1/7: Integer Modulo
  9. 9 Adding ska unordered_map
  10. 10 Cache Miss Lookup
  11. 11 Optimization 2/7: Cache Misses
  12. 12 A simple unordered_map
  13. 13 Open Addressing
  14. 14 dense_hash_map performance
  15. 15 Optimization 3/7: Back to Linked Lists
  16. 16 ptr_hash_map performance
  17. 17 Optimization 4/7: Robin Hood Hashing
  18. 18 Robin Hood Hashing Performance
  19. 19 A different perspective
  20. 20 The memory overhead of ska::flat_hash_map
  21. 21 Effect of max_load_factor
  22. 22 Optimization 5/7: Google's New flat_hash_map
  23. 23 How do we make it faster?
  24. 24 How many bits does Robin Hood Hashing need?
  25. 25 Optimization 6/7: Robin Hood Hashing +SIMD
  26. 26 Robin Hood SIMD Performance
  27. 27 Chaining hash table lookups
  28. 28 Reminder: What ptr_hash_map looks like

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.