libc/locale/programs simple-hash.c

drepper@sourceware.cygnus.com drepper@sourceware.cygnus.com
Wed Oct 31 01:17:00 GMT 2001


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sources.redhat.com	2001-11-26 19:02:01

Modified files:
	locale/programs: simple-hash.c 

Log message:
	(insert_entry_2): Resize at 75%, not 90%.
	(compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
	improves the quality of the hash function, especially for short
	strings.



More information about the Glibc-cvs mailing list