HyperLogLog implementation in pure Ruby