[sr-dev] git:master: modules_k/htable - documentation clarification

Juha Heinanen jh at tutpro.com
Wed Sep 2 17:04:25 CEST 2009


Module: sip-router
Branch: master
Commit: ef2cebf7ac61e36c7cb0f3b01853e8560cd3bf86
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef2cebf7ac61e36c7cb0f3b01853e8560cd3bf86

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Wed Sep  2 18:02:20 2009 +0300

modules_k/htable - documentation clarification

* Clarified meaning of "size" parameter in htable definition.

---

 modules_k/htable/README               |    4 ++--
 modules_k/htable/doc/htable_admin.xml |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules_k/htable/README b/modules_k/htable/README
index 03a5956..a9f66c0 100644
--- a/modules_k/htable/README
+++ b/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.
diff --git a/modules_k/htable/doc/htable_admin.xml b/modules_k/htable/doc/htable_admin.xml
index fbb0a3a..0d1ad8d 100644
--- a/modules_k/htable/doc/htable_admin.xml
+++ b/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>




More information about the sr-dev mailing list