Commit 0abe98cb authored by zhanghailei's avatar zhanghailei Committed by antirez
Browse files

According to context,the size should be 16 rather than 64

parent a0ea8f23
...@@ -695,7 +695,7 @@ static unsigned long rev(unsigned long v) { ...@@ -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 * (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). * 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 * (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. * the last four bits of the hash output, and so forth.
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment