Skip to content

dracarys18/wood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wood

A Zig implementation of HyperLogLog, a probabilistic data structure for estimating the number of distinct elements in a multiset.

Accuracy

  • Memory usage = 2^p registers
  • Standard error ≈ 1.04 / √(2^p)
Precision (p) Buckets (m = 2^p) Expected Error
10 1,024 ~3.2%
12 4,096 ~1.6%
14 16,384 ~0.8%
16 65,536 ~0.4%

About

A Hyperloglog library written in Zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages