What is the difference between concurrent_hash_map and concurrent_unordered_map?

What is the difference between concurrent_hash_map and concurrent_unordered_map?

What is the difference between concurrent_hash_map and concurrent_unordered_map?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

According to documentation:

> The key differences between classes concurrent_unordered_map andconcurrent_hash_map are:

  • concurrent_unordered_map: permits concurrent traversal and insertion, no visible locking, closely resembles the C++11 unordered_map.

  • concurrent_hash_map permits concurrent erasure, built-in locking

Leave a Comment

Please sign in to add a comment. Not a member? Join today