Skip to content

hyperloglog counts things using the HyperLogLog algorithm to estimate cardinality

License

Notifications You must be signed in to change notification settings

eclesh/hyperloglog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hyperloglog

Package hyperloglog implements the HyperLogLog algorithm for cardinality estimation. In English: it counts things. It counts things using very small amounts of memory compared to the number of objects it is counting.

For a full description of the algorithm, see the paper HyperLogLog: the analysis of a near-optimal cardinality estimation algorithm by Flajolet, et. al. at http://algo.inria.fr/flajolet/Publications/FlFuGaMe07.pdf

For documentation see http://godoc.org/github.com/eclesh/hyperloglog

Quick start

$ go get github.com/eclesh/hyperloglog
$ cd $GOPATH/src/github.com/eclesh/hyperloglog
$ go test -test.v
$ go test -bench=.

License

hyperloglog is licensed under the MIT license.

About

hyperloglog counts things using the HyperLogLog algorithm to estimate cardinality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages