Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2021 Changes in this version + func Weight(numCounters uint32) float64 + type HyperLogLog struct + func NewHyperLogLog(precision int) (*HyperLogLog, error) + func (h *HyperLogLog) Add(item int32) + func (h *HyperLogLog) Cardinal() int + func (h *HyperLogLog) Rank(value uint32) int + type LinearCounter struct + func NewLinearCounter(m int) LinearCounter + func (lc *LinearCounter) Add(item int) error + func (lc *LinearCounter) Cardinal() float64