summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/helper.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2019-07-26 14:59:15 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2019-07-26 15:03:03 -0400
commit0dc5a85a1c3772a6e78f077719d82f437f626b1e (patch)
treeabe77c1082f55453027d08937302a3e122069be7 /lisp/emacs-lisp/helper.el
parentc74da403aa95ec67598c41aa4f1b97975391135b (diff)
downloademacs-0dc5a85a1c3772a6e78f077719d82f437f626b1e.tar.gz
emacs-0dc5a85a1c3772a6e78f077719d82f437f626b1e.tar.bz2
emacs-0dc5a85a1c3772a6e78f077719d82f437f626b1e.zip
Don't dump the `hash` vector if it will need to be recomputed anyway
* src/fns.c (hash_table_rehash): Only set `hash` field at the end. (sweep_weak_table): Only set slot of `hash` vector when that vector exists. (Fhash_table_count): No need to hash_rehash_if_needed any more. * src/lisp.h (hash_rehash_needed_p): Test the presence of `hash` instead. * src/pdumper.c (check_hash_table_rehash, dump_hash_table): Set `hash` to nil to indicate that the table needs to be rehashed.
Diffstat (limited to 'lisp/emacs-lisp/helper.el')
0 files changed, 0 insertions, 0 deletions