aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-07-07 17:51:25 -0700
committerPaul Eggert2011-07-07 17:51:25 -0700
commit3cc5a5328c43317b12a7163c4e1c0a56d85b93ce (patch)
tree880e8f775ca3d34e357f1fda7ab2df57acd744aa /src/ChangeLog
parentb312a4929d4ed7bc900a54f506905801f860ce7c (diff)
downloademacs-3cc5a5328c43317b12a7163c4e1c0a56d85b93ce.tar.gz
emacs-3cc5a5328c43317b12a7163c4e1c0a56d85b93ce.zip
Improve hashing quality when configured --with-wide-int.
* fns.c (hash_string): New function, taken from sxhash_string. Do not discard information about ASCII character case; this discarding is no longer needed. (sxhash-string): Use it. Change sig to match it. Caller changed. * lisp.h: Declare it. * lread.c (hash_string): Remove, since we now use fns.c's version. The fns.c version returns a wider integer if --with-wide-int is specified, so this should help the quality of the hashing a bit.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0265828c60e..aaf87deb9a5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12011-07-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 Improve hashing quality when configured --with-wide-int.
4 * fns.c (hash_string): New function, taken from sxhash_string.
5 Do not discard information about ASCII character case; this
6 discarding is no longer needed.
7 (sxhash-string): Use it. Change sig to match it. Caller changed.
8 * lisp.h: Declare it.
9 * lread.c (hash_string): Remove, since we now use fns.c's version.
10 The fns.c version returns a wider integer if --with-wide-int is
11 specified, so this should help the quality of the hashing a bit.
12
12011-07-07 Paul Eggert <eggert@cs.ucla.edu> 132011-07-07 Paul Eggert <eggert@cs.ucla.edu>
2 14
3 * emacs.c: Integer overflow minor fix. 15 * emacs.c: Integer overflow minor fix.