]> git.eshelyaron.com Git - emacs.git/commit
Speed up maybe_gc when GC is inhibited
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 18:20:07 +0000 (11:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2019 18:24:11 +0000 (11:24 -0700)
commitd02c2f7f6507105605ed0596a7e26acd5b3b8122
tree7341ddd7c2e2f20aa5857d950684c07f8b7f4955
parentc72e6328b408805953a5adf832b5c5cc9f3a75e7
Speed up maybe_gc when GC is inhibited

* src/alloc.c (allow_garbage_collection)
(inhibit_garbage_collection): Temporarily bump
consing_until_gc, to improve performance of maybe_gc while
garbage collection is inhibited.  Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00511.html
src/alloc.c