summaryrefslogtreecommitdiff
path: root/src/bitops.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-30 00:54:08 +0100
committerantirez <antirez@gmail.com>2014-03-30 00:55:49 +0100
commitaaf6db459b34dc2182fe1d84596733a9b9e97ec4 (patch)
tree8c95a9bac16d5b7baf8ff639e18478a8b7dee742 /src/bitops.c
parent4628ac00650591777d34427fa7ee6d5f1f6c484e (diff)
downloadredis-aaf6db459b34dc2182fe1d84596733a9b9e97ec4.tar.gz
Use endian neutral hash function for HyperLogLog.
We need to be sure that you can save a dataset in a Redis instance, reload it in a different architecture, and continue to count in the same HyperLogLog structure. So 32 and 64 bit, little or bit endian, must all guarantee to output the same hash for the same element.
Diffstat (limited to 'src/bitops.c')
0 files changed, 0 insertions, 0 deletions