HyperLogLog++ is advanced cardinality estimation algorithm with
normal and compressed sparse representations. It can be used to
estimate approximate number of unique elements in an unordered
set.
hll-d [1, 2] is written in D. It can be used as betterC library
without linking with DRuntime. hll-d has C header and C example.
Its implementation is based on Mir Algorithm [3]
1. mir.ndslice.topology.bitpack is used for arrays composed of
packed 6bit integers
2. mir.ndslice.sorting.sort is used for betterC sorting.
[1] Git: https://github.com/tamediadigital/hll-d
[2] Dub: http://code.dlang.org/packages/hll-d
[3] Mir Algorithm: https://github.com/libmir/mir-algorithm
Best regards,
Ilya