google-sparsehash

Memory-efficient hash_map implementation for C++

brewmacoslinux
Try with needOr install directly
Source

About

Extremely memory-efficient hash_map implementation

Commands

google-sparsehash

Examples

Include sparse_hash_map in C++ project$ g++ -I/usr/local/include myprogram.cpp -o myprogram
Verify installation by checking header files$ ls -la /usr/local/include/sparsehash/
View available hash table implementations$ grep -r 'class sparse_hash_map' /usr/local/include/sparsehash/