parallel-hashmap

Header-only C++ hashmap and btree container library for fast lookups

brewmacoslinux
Try with needOr install directly
Source

About

Family of header-only, fast, memory-friendly C++ hashmap and btree containers

Commands

parallel-hashmap

Examples

Include the library in a C++ project for high-performance hash maps$ #include <parallel_hashmap/phmap.h> phmap::flat_hash_map<std::string, int> map;
Use btree container for ordered key-value storage with better cache locality$ #include <parallel_hashmap/btree.h> phmap::btree_map<int, std::string> btree;
Compile a program using parallel-hashmap headers$ clang++ -I/usr/local/include -std=c++17 myprogram.cpp -o myprogram