Algorithm-BloomFilter
view release on metacpan or search on metacpan
bf1 = into->bitmap;
bf2 = other->bitmap;
for (i = 0; i < n; ++i) {
bf1[i] |= bf2[i];
}
return 0;
}
/* Floodyberry's public-domain siphash: https://github.com/floodyberry/siphash */
static inline uint64_t
U8TO64_LE(const unsigned char *p)
{
return *(const uint64_t *) p;
}
#define ROTL64(a,b) (((a)<<(b))|((a)>>(64-b)))
uint64_t
bl_siphash(uint64_t k0, uint64_t k1, const unsigned char *m, size_t len)
( run in 0.621 second using v1.01-cache-2.11-cpan-39bf76dae61 )