Forráskód Böngészése

modules_k/htable - documentation clarification

* Clarified meaning of "size" parameter in htable definition.
Juha Heinanen 16 éve
szülő
commit
ef2cebf7ac
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 2 2
      modules_k/htable/README
  2. 1 1
      modules_k/htable/doc/htable_admin.xml

+ 2 - 2
modules_k/htable/README

@@ -242,8 +242,8 @@ if(is_present_hf("Authorization"))
    configuration file.
    configuration file.
      * htname - string specifying the name of the hash table. This string
      * htname - string specifying the name of the hash table. This string
        is used by $sht(...) to refer to the hash table.
        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
      * 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
        update was done to it. If is missing or set to 0, the items won't
        expire.
        expire.

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

@@ -220,7 +220,7 @@ if(is_present_hf("Authorization"))
 		<listitem>
 		<listitem>
 		<para>
 		<para>
 			<emphasis>size</emphasis> - number specifying the size of hash
 			<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>
 		</para>
 		</listitem>
 		</listitem>
 		<listitem>
 		<listitem>