Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 755 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 755 Bytes

nark-hashmap

Now the newest version is in topling-ark

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:

  1. replace include header file
    sed -i 's:<unordered_map>:<nark/easy_use_hash_map.hpp>:g' somefile.cpp

  2. 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.

More ...