]> git.eshelyaron.com Git - emacs.git/commit
Increase gc-cons-threshold.
authorKen Raeburn <raeburn@raeburn.org>
Wed, 7 Dec 2016 11:34:22 +0000 (06:34 -0500)
committerKen Raeburn <raeburn@raeburn.org>
Sat, 22 Jul 2017 08:14:22 +0000 (04:14 -0400)
commitbd42a5ae4336eb681ce5f658fee738bc365a244d
tree312f0f0e1ce979d589d3fcd8408c1174ddb5ee5d
parent7414991525f65b6bb28d8a48a34b0e28ce0feb41
Increase gc-cons-threshold.

The large "progn" block in dumped.elc greatly exceeds the old default
GC threshold.  Garbage collection during startup becomes a non-trivial
part of startup time.  (Less than 10% in my testing, but that's not
nothing.)

This is NOT a good long-term solution, at least by itself.

* src/alloc.c (GC_DEFAULT_THRESHOLD): Increase to 3 million words.
src/alloc.c