Class HyperLogLog<T>

A HyperLogLog implementation in TypeScript for estimating the cardinality of a set.

HyperLogLog is a probabilistic data structure used to estimate the number of distinct elements in a multiset using a small, fixed amount of memory.

This enhanced version includes options for merging HLLs, configuring accuracy, and optimized zero-count and hash functions.

Type Parameters

  • T

    The type of elements to be added to the set.

Constructors

Methods

Constructors

Methods