]> git.eshelyaron.com Git - emacs.git/commit
Refactor hash table vector reallocation
authorMattias Engdegård <mattiase@acm.org>
Sat, 28 Oct 2023 10:07:42 +0000 (12:07 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 12 Jan 2024 17:02:15 +0000 (18:02 +0100)
commit43127e5ec110debadef5e823ee8adbfc561bb708
treec6171f089722f215ddc0b31d8ce24775ea902b6e
parent462b3e6ae4eefeb65a2dc7b144db3e1af9a7720d
Refactor hash table vector reallocation

* src/fns.c (larger_vecalloc): Remove.
(larger_vector): Simplify.
(alloc_larger_vector): New.
(maybe_resize_hash_table): Use alloc_larger_vector as a simpler and
faster replacement for larger_vecalloc.
src/fns.c