mirror of
https://github.com/fluencelabs/redis
synced 2025-07-01 09:51:32 +00:00
According to context,the size should be 16 rather than 64
This commit is contained in:
@ -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.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user