bloomfilter-redis-0.1.0.4: Distributed bloom filters on Redis (using the Hedis client).

Safe HaskellSafe
LanguageHaskell2010

Data.RedisBloom.Hash

Contents

Description

Hash function families suitable for use in a bloom filter.

Synopsis

Hash families

hashFamilySimple :: Hashable a => HashCount -> HashFamily a Source #

A simple hash function family.

hashFamilyFNV1 :: Hashable a => HashCount -> HashFamily a Source #

A hash function family based on the Fowler–Noll–Vo hash function, Variant 1. See http://www.isthe.com/chongo/tech/comp/fnv/

hashFamilyFNV1a :: Hashable a => HashCount -> HashFamily a Source #

A hash function family based on the Fowler–Noll–Vo hash function, Variant 1a. See http://www.isthe.com/chongo/tech/comp/fnv/