interface CuckooFilterInit {
    bucketSize?: number;
    filterSize: number;
    fingerprintSize?: number;
    hash?: Hash;
    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

seed?: number

A number used to seed the hash