]> git.saurik.com Git - redis.git/blobdiff - src/dict.c
for (p)expireat use absolute time, without double recomputation
[redis.git] / src / dict.c
index a329137544eb86738c055f640c6ad046e34d76e2..6fd4584eede5041eb69ee257fbf74400b15accdd 100644 (file)
@@ -85,7 +85,7 @@ unsigned int dictIdentityHashFunction(unsigned int key)
     return key;
 }
 
-static int dict_hash_function_seed = 5183;
+static int dict_hash_function_seed = 5381;
 
 void dictSetHashFunctionSeed(unsigned int seed) {
     dict_hash_function_seed = seed;
@@ -150,7 +150,7 @@ int _dictInit(dict *d, dictType *type,
 }
 
 /* Resize the table to the minimal size that contains all the elements,
- * but with the invariant of a USER/BUCKETS ratio near to <= 1 */
+ * but with the invariant of a USED/BUCKETS ratio near to <= 1 */
 int dictResize(dict *d)
 {
     int minimal;