hll-d 0.0.1

HyperLogLog++: Cardinality estimationn


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Complete Generic HyperLogLog++ Implementation

import std.experimental.allocator;
import std.experimental.allocator.mallocator;
auto counter = HLL!(shared Mallocator)(Mallocator.instance);

/// loop
  counter.put(anArrayOrString);
  // or
  //counter.put(anUlong);
  //counter.put(anUUID); // for 64bit targets only

ulong count = counter.count;

Authors:
  • Ilya Yaroshenko
Dependencies:
mir-math, mir-random, mir-algorithm, lincount
Versions:
0.3.1 2017-Sep-20
0.3.0 2017-Sep-04
0.2.0 2017-Mar-07
0.1.3 2017-Feb-27
0.1.2 2017-Feb-25
Show all 10 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 62 downloads total

Score:
1.6
Short URL:
hll-d.dub.pm