summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhanghailei <zhanghailei@youku.com>2013-12-23 12:32:57 +0800
committerantirez <antirez@gmail.com>2014-03-11 11:09:37 +0100
commit0abe98cb4da1986adac8663e12eba7678ded091b (patch)
treecbf835d08305dfec0cf02a96b5bad715b4b6420c
parenta0ea8f235e0ca70cecb87703e283d639a8c179ee (diff)
downloadredis-0abe98cb4da1986adac8663e12eba7678ded091b.tar.gz
According to context,the size should be 16 rather than 64
-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.
*