Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chartbeat-labs/cljbeat-hll
Clojure implementation of hyper log log
https://github.com/chartbeat-labs/cljbeat-hll
Last synced: about 2 months ago
JSON representation
Clojure implementation of hyper log log
- Host: GitHub
- URL: https://github.com/chartbeat-labs/cljbeat-hll
- Owner: chartbeat-labs
- License: other
- Created: 2015-07-20T20:46:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T19:01:45.000Z (about 9 years ago)
- Last Synced: 2024-10-19T03:17:48.411Z (2 months ago)
- Language: Clojure
- Size: 148 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cb.cljbeat.hll
Implementation of HyperLogLog based on
https://github.com/svpcom/hyperloglog/blob/master/hyperloglog/hll.py.This project is a part of [cljbeat](http://chartbeat-labs.github.io/cljbeat/).
## Usage
```
(ns cb.cljbeat.hll.example
(:require [cb.clbjeat.hll.core :as hll]))(-> (hll/get-hll 0.01)
(.addItems [1 2 3 4 5])
(.countDistinct)) ;; Evaluates to 5
```## Installation
With leiningen: `[com.chartbeat.cljbeat/hll "1.0.0"]`