Revert "Fixed type in dict.c comment: 265 -> 256."

This reverts commit 6253180abd9fd11a385c644fe1dee932ef83d86f.
This commit is contained in:
antirez 2013-08-19 17:25:48 +02:00
parent 6253180abd
commit 00ddc3500c

View File

@ -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);