addthis / stream-lib

Stream summarizer and cardinality estimator.
Apache License 2.0
2.26k stars 556 forks source link

Code re-use re: linearCounting in HLL++ #68

Closed grandinquisitor closed 10 years ago

grandinquisitor commented 10 years ago

Minor code re-usage for linearCounting()

tea-dragon commented 10 years ago

I might try to have the parameter names for the extracted methods either be more verbose or line up better with the relatively few places they are called from, but eh, it looks good enough to me. Can always fix that later. Thanks for the contribution, and apologies for the long delay on response.