#include <hybridmap.h>
This selector class is used for template parameters which select the map implementation to use. It will then instruct the template to use the HybridMap implementation. For example, RangeSet uses an underlying BurstTrieMap by default. If you want to use a HybridMap instead, you'd write
SMALL | A map selector template to choose the map implementation to use for a small number of entries. |
LARGE | A map selector template to choose the map implementation to use for a large number of entries. |
THRESHOLD | When the number of entries reaches THRESHOLD, HybridMap switches to the LARGE implementation. |
REVERSE_THRESHOLD | When the number of entries falls below REVERSE_THRESHOLD, HybridMap switches back to the SMALL implementation. If this is negative, this will never happen. |
Public Types | |
template<typename K , typename V > | |
using | Type = HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD > |