diff options
author | antirez <antirez@gmail.com> | 2013-08-19 17:26:04 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-08-19 17:26:04 +0200 |
commit | 3bacf4c7388331c7acacd79779aa64b30eac8d65 (patch) | |
tree | 3a993c24753958f7d357ce47eb2f5ea7eafb6cb2 | |
parent | 19de8e46bf36e77ca61a966a777fbf63b9afcc45 (diff) | |
download | redis-3bacf4c7388331c7acacd79779aa64b30eac8d65.tar.gz |
Revert "Fixed type in dict.c comment: 265 -> 256."
This reverts commit 19de8e46bf36e77ca61a966a777fbf63b9afcc45.
-rw-r--r-- | src/dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c index 3b0ee6f8f..d2ff4a9ac 100644 --- a/src/dict.c +++ b/src/dict.c @@ -534,7 +534,7 @@ long long dictFingerprint(dict *d) { /* For the hashing step we use Tomas Wang's 64 bit integer hash. */ hash = (~hash) + (hash << 21); // hash = (hash << 21) - hash - 1; hash = hash ^ (hash >> 24); - hash = (hash + (hash << 3)) + (hash << 8); // hash * 256 + hash = (hash + (hash << 3)) + (hash << 8); // hash * 265 hash = hash ^ (hash >> 14); hash = (hash + (hash << 2)) + (hash << 4); // hash * 21 hash = hash ^ (hash >> 28); |