2
0
Эх сурвалжийг харах

modules_k/htable - documentation clarification

* Clarified meaning of "size" parameter in htable definition.
Juha Heinanen 16 жил өмнө
parent
commit
ef2cebf7ac

+ 2 - 2
modules_k/htable/README

@@ -242,8 +242,8 @@ if(is_present_hf("Authorization"))
    configuration file.
      * htname - string specifying the name of the hash table. This string
        is used by $sht(...) to refer to the hash table.
-     * size - number specifying the size of hash table. The number of
-       entries in the table is 2^size
+     * size - number specifying the size of hash table. Larger value means
+       less collisions. The number of entries in the table is 2^size.
      * autoexpire -time in seconds to delete an item from hash table if no
        update was done to it. If is missing or set to 0, the items won't
        expire.

+ 1 - 1
modules_k/htable/doc/htable_admin.xml

@@ -220,7 +220,7 @@ if(is_present_hf("Authorization"))
 		<listitem>
 		<para>
 			<emphasis>size</emphasis> - number specifying the size of hash
-			table. The number of entries in the table is 2^size
+			table.  Larger value means less collisions. The number of entries in the table is 2^size.
 		</para>
 		</listitem>
 		<listitem>