diff options
| author | Paul Eggert | 2011-07-07 17:51:25 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-07 17:51:25 -0700 |
| commit | 3cc5a5328c43317b12a7163c4e1c0a56d85b93ce (patch) | |
| tree | 880e8f775ca3d34e357f1fda7ab2df57acd744aa /src/buffer.c | |
| parent | b312a4929d4ed7bc900a54f506905801f860ce7c (diff) | |
| download | emacs-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/buffer.c')
0 files changed, 0 insertions, 0 deletions