瀏覽代碼

modules_k/htable - documentation clarification

* Clarified meaning of "size" parameter in htable definition.
Juha Heinanen 16 年之前
父節點
當前提交
ef2cebf7ac
共有 2 個文件被更改,包括 3 次插入3 次删除
  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.
      * 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>