useBitArray

For each possible key store 0 if it's absent in the dictionary, or 1 otherwise. Bit array is used for compactness.

This is the default option. In this case, size of dictionary is roughly (V.sizeof + 1/8) * K.ValueSetSize

mixin template useBitArray (
K
V
) {}

Meta