summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorzhanghailei <zhanghailei@youku.com>2013-12-23 12:32:57 +0800
committerzhanghailei <zhanghailei@youku.com>2014-03-04 11:21:34 +0800
commit4b9ac6edd0ce5382e9f2c07e0c68b3230226df72 (patch)
tree939590088f4f67f306b561344fd71200470e0a33 /src/dict.c
parentc5edd91716486b1134aa9318657e38e43445a75d (diff)
downloadredis-4b9ac6edd0ce5382e9f2c07e0c68b3230226df72.tar.gz
According to context,the size should be 16 rather than 64
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 17a322870..bcf592e43 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -695,7 +695,7 @@ static unsigned long rev(unsigned long v) {
* (where SIZE-1 is always the mask that is equivalent to taking the rest
* of the division between the Hash of the key and SIZE).
*
- * For example if the current hash table size is 64, the mask is
+ * For example if the current hash table size is 16, the mask is
* (in binary) 1111. The position of a key in the hash table will be always
* the last four bits of the hash output, and so forth.
*