folly::ConcurrentHashMapSIMD

SIMD-backed ConcurrentHashMap based on F14ValueMap.

Synopsis

Declared in <folly/concurrency/ConcurrentHashMap.h>

template<
    typename KeyType,
    typename ValueType,
    typename HashFn = std::hash<KeyType>,
    typename KeyEqual = std::equal_to<KeyType>,
    typename Allocator = std::allocator<uint8_t>,
    uint8_t ShardBits = 8,
    template<typename> typename Atom = atomic,
    class Mutex = std::mutex>
using ConcurrentHashMapSIMD = ConcurrentHashMap<KeyType, ValueType, HashFn, KeyEqual, Allocator, ShardBits, Atom, Mutex, BucketTable>;

Description

Uses vectorized key lookup where the required intrinsics are available, falling back to the regular bucket table otherwise.