HyperLogLog internal representation modified.
HyperLogLog internal representation modified.

The new representation is more obvious, starting from the LSB of the
first byte and using bits going to MSB, and passing to next byte as
needed.

There was also a subtle error: first two bits were unused, everything
was carried over on the right of two bits, even if it worked because of
the code requirement of always having a byte more at the end.

During the rewrite the code was made safer trying to avoid undefined
behavior due to shifting an uint8_t for more than 8 bits.

darksideofthemoo/redis-histogram,Hailei/redis,HunanTV/redis,ksarch-saas/redis,maodeyi/redis_lua,maodeyi/redis_lua,splitice/redis,ksarch-saas/redis,darksideofthemoo/redis-histogram,slfs007/mk-redis,slfs007/mk-redis,xuzhezhaozhao/redis_reading,xuzhezhaozhao/redis_reading,MSOpenTech/redis,darksideofthemoo/redis-histogram,himoca/redis,HunanTV/redis,darksideofthemoo/redis-histogram,himoca/redis,spearhead-ea/redis,MSOpenTech/redis,splitice/redis,ramonsnir/redis,xuzhezhaozhao/redis_reading,ttuna/msot-redis,HunanTV/redis,ksarch-saas/redis,slfs007/mk-redis,Hailei/redis,jxwr/redis,ramonsnir/redis,HunanTV/redis,Hailei/redis,MSOpenTech/redis,splitice/redis,himoca/redis,jxwr/redis,ksarch-saas/redis,louisliangjun/redis,xuzhezhaozhao/redis_reading,Hailei/redis,louisliangjun/redis,spearhead-ea/redis,ttuna/msot-redis,ttuna/msot-redis,MSOpenTech/redis,splitice/redis,ramonsnir/redis,louisliangjun/redis,ttuna/msot-redis,jxwr/redis,MSOpenTech/redis,spearhead-ea/redis,maodeyi/redis_lua,louisliangjun/redis,ttuna/msot-redis