Commit daa5d2a6 authored by zhanghailei's avatar zhanghailei Committed by antirez
Browse files

FIXED a typo more thank should be more than

parent ca0720b6
...@@ -239,7 +239,7 @@ int dictExpand(dict *d, unsigned long size) ...@@ -239,7 +239,7 @@ int dictExpand(dict *d, unsigned long size)
/* Performs N steps of incremental rehashing. Returns 1 if there are still /* Performs N steps of incremental rehashing. Returns 1 if there are still
* keys to move from the old to the new hash table, otherwise 0 is returned. * keys to move from the old to the new hash table, otherwise 0 is returned.
* Note that a rehashing step consists in moving a bucket (that may have more * Note that a rehashing step consists in moving a bucket (that may have more
* thank one key as we use chaining) from the old to the new hash table. */ * than one key as we use chaining) from the old to the new hash table. */
int dictRehash(dict *d, int n) { int dictRehash(dict *d, int n) {
if (!dictIsRehashing(d)) return 0; if (!dictIsRehashing(d)) return 0;
......
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