nfx-containers 0.6.0
Modern C++20 header-only library providing high-performance hash containers with Robin Hood and perfect hashing
Loading...
Searching...
No Matches
StackHashMap.h File Reference

Hash map with small buffer optimization (SBO) and heap fallback. More...

#include "nfx/containers/FastHashMap.h"
#include <array>
#include <cstddef>
#include <functional>
#include <initializer_list>
#include <memory>
#include <optional>
#include <utility>
#include "nfx/detail/containers/StackHashMap.inl"
Include dependency graph for StackHashMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfx::containers::StackHashMap< TKey, TValue, N, KeyEqual >
 Hash map with small buffer optimization for stack-allocated storage. More...

Detailed Description

Hash map with small buffer optimization (SBO) and heap fallback.

Stack-allocated storage for small maps (≤N elements) with linear search, automatic transition to FastHashMap for larger datasets

Definition in file StackHashMap.h.