]> granicus.if.org Git - libexpat/commitdiff
Improved comment on hash algorithm.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Mon, 22 Sep 2003 14:14:54 +0000 (14:14 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Mon, 22 Sep 2003 14:14:54 +0000 (14:14 +0000)
expat/lib/xmlparse.c

index 2884d36c4d8a0ca7bc11b112a00ebe895400c392..1293b8644ef58d3ef11ebd2310dace8c5405f984 100644 (file)
@@ -109,7 +109,8 @@ typedef struct {
 } HASH_TABLE;
 
 /* Basic character hash algorithm, taken from Python's string hash:
-   h = h * 1000003(prime number) ^ character.
+   h = h * 1000003 ^ character, the constant being a prime number.
+
 */
 #ifdef XML_UNICODE
 #define CHAR_HASH(h, c) \