]> git.eshelyaron.com Git - emacs.git/commit
Tweak recent hash-table fix
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 06:21:14 +0000 (23:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 06:21:41 +0000 (23:21 -0700)
commit49e80e765b693736a8bb97ae5bfa341d25bf4f02
tree500758c693dc3b53b8fad751157af270414025a8
parent515afc9c15870cd7bd6b96e2d8b89938116923ac
Tweak recent hash-table fix

* src/fns.c (maybe_resize_hash_table): Completely initialize the
new ‘next’ vector before allocating more vectors, as this
preserves locality a bit better and it’s safer not to leave an
uninitialized Lisp object around.  Use next_size instead of
new_size to compute new index size.
src/fns.c