Closed paralin closed 3 years ago
Isn't https://pkg.go.dev/github.com/bits-and-blooms/bloom#From enough? AFAIR, From uses the passed slice (does not copy it). So if you keep a reference to the slice, you always have access to its bits.
@db7 No, because the constants are not the same (m, k, bitset len)
I'll merge and fix the comment.
to access the underlying BitSet inside the bloom filter
In some cases it's necessary to access the []uint64 representation within.