struct HybridHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, BorrowCheckFlag borrowCheckFlag = BorrowCheckFlag.no, uint linearSearchMaxSize = 64, PrimeCapacityFlag primeCapacityFlag = PrimeCapacityFlag.no)
const scope @trusted
bool
containsUsingLinearSearch
Check if element is stored.
Uses linear search instead of hashing plus probing and may be faster for for small tables with complicated hash functions.
Parameter key may be non-immutable, for instance const(char)[] eventhough key type K is string.