Mercurial > hg > xemacs-beta
diff src/ChangeLog @ 490:38fb9ae12edd
[xemacs-hg @ 2001-04-30 09:12:03 by martinb]
a better string hash function
author | martinb |
---|---|
date | Mon, 30 Apr 2001 09:12:04 +0000 |
parents | 4a8bb4aa9740 |
children | 610e4ba94a4d |
line wrap: on
line diff
--- a/src/ChangeLog Mon Apr 30 08:49:26 2001 +0000 +++ b/src/ChangeLog Mon Apr 30 09:12:04 2001 +0000 @@ -1,3 +1,13 @@ +2001-04-30 Martin Buchholz <martin@xemacs.org> + + Make string hashing more efficient. + Makes intern much faster. + Makes hash tables containing strings faster. + * symbols.c (hash_string): A much better hash function. + Change prototype to return unsigned value. + (init_symbols_once_early): Use unsigned type for hash value. + (oblookup): Use unsigned type for hash value. + 2001-04-04 Martin Buchholz <martin@xemacs.org> * keymap.c (Fmap_keymap): Revert to previous implementation, since