It would be really great if this was implemented in stream-lib (<a href="https://github.com/addthis/stream-lib" rel="nofollow">https://github.com/addthis/stream-lib</a>), which is a pretty standard library for HLL counters.<p>Also, the community supporting that lib is very familiar with the mathematics behind these structures, and would be be better able to critique the error rates and such.