D for BigData: the first BetterC library by Tamediadigital

Ilya Yaroshenko via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Feb 25 06:32:00 PST 2017


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



More information about the Digitalmars-d-announce mailing list