Now the newest version is in topling-ark
A very fast and small(memory efficient) hash map: Bechmark
nark::easy_use_hash_map<Key, Value>
is a source code level compatible alternative of std::unordered_map<Key, Value>
. Just run sed
commands:
-
replace include header file
sed -i 's:<unordered_map>:<nark/easy_use_hash_map.hpp>:g' somefile.cpp
-
replace types
sed -i 's/std::unordered_map/nark::easy_use_hash_map/g' somefile.cpp
template parameter HashFunc, KeyEqual, Alloc is absent for easy_use_hash_map
, if you need these params, you are not easy-use
.