diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-21 15:31:29 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-21 15:39:17 -0800 |
commit | 17af43ca76692c7e889c91d3fa9e6690349f0d57 (patch) | |
tree | bc0cfd0dbe36db16a03daf13d62eceeaeca12211 /lisp/emacs-lisp | |
parent | 83c9c6fc1cc943f239a021b42a8ca9b0e162198c (diff) | |
download | emacs-17af43ca76692c7e889c91d3fa9e6690349f0d57.tar.gz |
Minor weak hash table performance tweaks
* src/fns.c (make_hash_table): Omit unnecessary assignment to
h->next_weak when the hash table is not weak.
(copy_hash_table): Put the copy next to the original in the
weak_hash_tables list, as this should have better locality
when scanning the weak hash tables.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions