]> git.eshelyaron.com Git - emacs.git/commit
pdumper speed tweeks for hash tables
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Aug 2020 09:16:54 +0000 (02:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Aug 2020 09:27:44 +0000 (02:27 -0700)
commit53132c1639beb2fc8687d88a6e17fffa4216b440
treed853b10ce7fc36261573edaf4e26913b9d19280c
parent9e4e4775364490d31406f247237934dd7f203808
pdumper speed tweeks for hash tables

* src/pdumper.c (dump_queue_empty_p): Avoid unnecessary call
to Fhash_table_count on a known hash table.
(dump_hash_table_list): !NILP, not CONSP.
(hash_table_freeze, hash_table_thaw): ASIZE, not Flength, on vectors.
Initialize in same order as struct.
(hash_table_thaw): make_nil_vector, not Fmake_vector with nil.
src/pdumper.c