This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/locale/programs simple-hash.c
- From: drepper at sourceware dot cygnus dot com
- To: glibc-cvs at sourceware dot cygnus dot com
- Date: 27 Nov 2001 03:02:02 -0000
- Subject: libc/locale/programs simple-hash.c
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.