kumulant

BloomFilterResult

@Serializable
@SerialName(value = "BloomFilterResult")
data class BloomFilterResult(val bits: Int, val hashes: Int, val words: LongArray, val totalSeen: Long, val hasher: HasherRef = HasherRef.SplitMix64) : Result(source)

Bloom-filter snapshot. words is the bitset packed as bits / 64 longs; merging two snapshots requires identical bits and hashes.

Constructors

BloomFilterResult

constructor(bits: Int, hashes: Int, words: LongArray, totalSeen: Long, hasher: HasherRef = HasherRef.SplitMix64)(source)

Properties

bits

Total bitset size in bits.

hasher

Reference to the LongHasher that produced the bitset; resolved by contains.

hashes

Number of hash functions probed per membership query.

totalSeen

Number of update(value) calls absorbed; informational.

words

Packed bitset (bits / 64 longs); mergeable via word-wise OR.