antirez 433ce7f85c Changed HyperLogLog hash seed to a non-zero value.
Using a seed of zero has the side effect of having the empty string
hashing to what is a very special case in the context of HyperLogLog: a
very long run of zeroes.

This did not influenced the correctness of the result with 16k registers
because of the harmonic mean, but still it is inconvenient that a so
obvious value maps to a so special hash.

The seed 0xadc83b19 is used instead, which is the first 64 bits of the
SHA1 of the empty string.

Reference: issue #1657.
2014-04-04 09:36:32 +02:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2014-03-24 10:17:33 -04:00
2013-01-19 10:59:44 +01:00
2013-05-14 11:23:16 +02:00
2013-01-19 10:59:44 +01:00
2014-03-28 12:11:55 +01:00
2014-03-20 16:20:37 +01:00
2013-01-19 10:59:44 +01:00
2014-04-03 10:45:30 +02:00
2014-04-03 10:45:30 +02:00
2013-01-19 10:59:44 +01:00
2014-01-22 09:54:55 +01:00
2013-07-16 15:43:36 +02:00
2013-08-12 11:38:21 +02:00
2013-01-19 10:59:44 +01:00
2013-07-24 18:59:54 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-09-03 15:15:51 +02:00