dense_hash_map
A simple replacement for std::unordered_map (by Jiwan)
google-sparsehash
Clone of google-sparsehash (by justinsb)
dense_hash_map | google-sparsehash | |
---|---|---|
1 | 1 | |
36 | 17 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | over 12 years ago | |
C++ | Shell | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dense_hash_map
Posts with mentions or reviews of dense_hash_map.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-16.
-
Updating map_benchmarks: Send your hashmaps!
https://github.com/Jiwan/dense_hash_map is also a good flat hash map.
google-sparsehash
Posts with mentions or reviews of google-sparsehash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-16.
-
Updating map_benchmarks: Send your hashmaps!
google sparsehash would be interesting to see. From what I understand it's the predecessor to the Abseil containers. Would be nice to see a comparison
What are some alternatives?
When comparing dense_hash_map and google-sparsehash you can also consider the following projects:
flat_hash_map - A very fast hashtable
fph-table - Flash Perfect Hash Table: an implementation of a dynamic perfect hash table, extremely fast for lookup
qc-hash - Extremely fast unordered map and set library for C++20
sparsepp - A fast, memory efficient hash map for C++
CppPerformanceBenchmarks
eytzinger - Cache-friendly associative STL-like container with an Eytzinger (BFS) layout for C++
hashtable-bench - A benchmark for hash tables and hash functions in C++, evaluate on different data as comprehensively as possible
gtl - Greg's Template Library of useful classes.
dense_hash_map vs flat_hash_map
google-sparsehash vs fph-table
dense_hash_map vs qc-hash
google-sparsehash vs qc-hash
dense_hash_map vs sparsepp
google-sparsehash vs CppPerformanceBenchmarks
dense_hash_map vs eytzinger
google-sparsehash vs sparsepp
dense_hash_map vs hashtable-bench
google-sparsehash vs gtl
dense_hash_map vs fph-table
google-sparsehash vs eytzinger