[Expat-checkins] expat/lib xmlparse.c,1.110,1.111
Karl Waclawek
kwaclaw at users.sourceforge.net
Mon Sep 22 10:14:58 EDT 2003
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv31618
Modified Files:
xmlparse.c
Log Message:
Improved comment on hash algorithm.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- xmlparse.c 13 Sep 2003 17:30:30 -0000 1.110
+++ xmlparse.c 22 Sep 2003 14:14:54 -0000 1.111
@@ -109,7 +109,8 @@
} 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) \
More information about the Expat-checkins
mailing list