Containers

C++ B-tree - A template library that implements ordered in-memory containers based on a B-tree data structure. [Apache2]

parallel-hashmap2.7K

A family of header-only, very fast and memory-friendly hashmap and btree containers [Apache2] website

flat_hash_map1.7K

A very fast flat hashtable with Fibonacci hashing.

robin-hood-hashing1.5K

Fast & memory efficient hashtable based on robin hood hashing for C++14. [MIT]

frozen1.4K

a header-only, constexpr alternative to gperf for C++14 users. [Apache-2.0]

robin-map1.3K

Fast hash map and hash set using robin hood hashing. [MIT]

sparsepp1.3K

A fast, memory efficient hash map for C++. [BSD 3-clause]

unordered_dense988

A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion. [MIT]

hat-trie801

C++ implementation of a fast and memory efficient HAT-trie. [MIT]

PGM-index795

A data structure that enables fast lookup, predecessor, range searches and updates in arrays of billions of items using orders of magnitude less space than traditional indexes. [Apache2] website

Hopscotch map731

A fast header-only hash map which uses hopscotch hashing for collisions resolution. [MIT]

plf::colony402

An unordered "bag"-type container which outperforms std containers in high-modification scenarios while maintaining permanent pointers to non-erased elements regardless of insertion/erasure. [zLib] website

fixed-containers398

Header-only C++20 library that provides fixed capacity constexpr containers. [MIT]

LSHBOX285

A c++ toolbox of locality-sensitive hashing (LSH), provides several popular LSH algorithms, also support Python and MATLAB. [GPL]

Hashmaps254

Implementation of open addressing hash table algorithms in C++. [MIT]

dynamic_bitset158

Simple Useful Libraries: C++17/20 header-only dynamic bitset. [MIT] website

ring_span lite154

A simplified implementation of Arthur O'Dwyer's ring_span implementation ie. a circular buffer view. [MIT]

plf::list151

A std::list implementation which removes range splicing in order to enable cache-friendlier structure, yielding significant performance gains. [zLib] website

tree.hh135

An STL-like C++ header-only tree library. [GPL2+]

st_tree97

A fast and flexible c++ template class for tree data structures. [Apache-2.0]

svector97

Compact SVO optimized vector for C++17 or higher. [MIT]

plf::stack64

A replacement container for the std::stack container adaptor, with better performance than any std container in a stack context. [zLib] website