Skip to content

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:14

Read-only configuration and live accuracy metadata shared by every scalar variant.

readonly kind: "split-block-bloom-filter"

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:15


readonly scalarKind: "string" | "uint32" | "uint64" | "bytes"

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:16


readonly blockCount: number

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:18

Effective number of 256-bit blocks. Always a power of two.


readonly stateByteLength: number

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:20

Bytes occupied by the mutable bit state, excluding object overhead.


readonly updateCount: bigint

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:22

Number of accepted update attempts, including repeated values.


readonly estimatedFalsePositiveProbability: number

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:31

Current split-block Bloom model estimate.

The model averages each block’s eight-lane false-positive probability over its binomially distributed load. Counting attempts instead of distinct inputs makes the reported value conservative when callers repeat updates. The model assumes uniform XXH64 block selection and independent lanes.


readonly seed: bigint

Defined in: packages/scalar-sketch/src/split-block-bloom-filter.ts:33

XXH64 seed that participates in merge compatibility.