Returns a new HLL instance with reduced size
Returns a new HLL instance with reduced size
The new number of bits to use (for the length of j)
New size (passed in to avoid repeated computation)
Mask to force early termination of HyperLogLog.rhoW (passed in to avoid repeated computation)
Byte array (passed in to avoid repeated allocation)
New HLL instance with reduced size
Returns a new HLL instance with reduced size
Returns a new HLL instance with reduced size
http://research.neustar.biz/2012/09/12/set-operations-on-hlls-of-different-sizes/
http://research.neustar.biz/2013/03/25/hyperloglog-engineering-choosing-the-right-bits/
The new number of bits to use
New HLL instance with reduced size
Returns the modified value of rhoW at j, taking into account the extra run of bits added to rho due to reduction in the length of j.
Returns the modified value of rhoW at j, taking into account the extra run of bits added to rho due to reduction in the length of j.
j for which modified rhoW is needed
Current rhoW value for j
New length of j
New size (passed in to avoid repeated computation)
Mask to force early termination of HyperLogLog.rhoW (passed in to avoid repeated computation)
Byte array (passed in to avoid repeated allocation)
New value of rhoW
Set each item in the given buffer to the max of this and the buffer