Interface ScalableCuckooFilterInit

interface ScalableCuckooFilterInit {
    bucketSize?: number;
    filterSize: number;
    fingerprintSize?: number;
    hash?: Hash;
    scale?: number;
    seed?: number;
}

Hierarchy (view full)

Properties

bucketSize?: number

How many items to put in each bucket

filterSize: number

How many items the filter is expected to contain

fingerprintSize?: number

How many bytes the fingerprint is expected to be

hash?: Hash

A non-cryptographic hash implementation

scale?: number

A number to multiply maxItems by when adding new sub-filters

seed?: number

A number used to seed the hash