nark-hashmap
nark-hashmap copied to clipboard
Very fast and small(memory efficient) hash map
nark-hashmap
A very fast and small(memory efficient) hash map: Bechmark
Quick Start
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.