You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// init redis filter, like of 20, 5 keys (k, m) in 1000 (n)
// k -> the number of hashing functions on elements of the set, The actual hashing functions are important, too, but this is not a parameter for this implementation
// n -> data size
// m -> maximum size, typically a reasonably large multiple of the cardinality of the set to represent
func initRedisFilter(k, n, m uint) *bloom.BloomFilter {