]> git.eshelyaron.com Git - emacs.git/commit
More efficient hash table thawing
authorMattias Engdegård <mattiase@acm.org>
Mon, 15 Jan 2024 09:58:59 +0000 (10:58 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 16 Jan 2024 19:34:43 +0000 (20:34 +0100)
commitdc404c5d0caac798627751bfd77ed005629abd4e
treed64c48a544524c82c7745fc51eacece9d83824b0
parent0b8fe3c73ce4e9a2a8f025655970e86e0d81a0aa
More efficient hash table thawing

* src/fns.c (hash_table_thaw): Don't allocate anything for empty
tables.  Don't initialise the next vector twice.
(maybe_resize_hash_table): Factor out min_size constant.
src/fns.c