aggregateknowledge / java-hll

Java library for the HyperLogLog algorithm
http://research.neustar.biz/2013/12/24/open-source-release-java-hll/
Apache License 2.0
311 stars 70 forks source link

Migrate from fastutil to HPPC. Randomize tests. #16

Open dweiss opened 9 years ago

dweiss commented 9 years ago

Hello,

This patch migrates the code from fastutil to HPPC collections. The difference is in size -- HPPC is about 15x smaller than fastutil and hll only requires a tiny set of functionality.

I've also migrated from testng to plain JUnit to be able to randomize tests (instead of running on a fixed seed all the time).

All tests pass with this change. Let me know if you're interested in incorporating it into the main line.