Merge pull request #899 from edwintorok/emacs27
Emacs27+: reduce number of GCs on startup from 4 to 1
This commit is contained in:
commit
6e2ee7052d
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
;; Emacs HEAD (27+) introduces early-init.el, which is run before init.el,
|
||||
;; before package and UI initialization happens.
|
||||
|
||||
;; Defer garbage collection further back in the startup process
|
||||
(setq gc-cons-threshold 268435456)
|
||||
|
||||
;; Package initialize occurs automatically, before `user-init-file' is
|
||||
;; loaded, but after `early-init-file'. Doom handles package
|
||||
;; initialization, so we must prevent Emacs from doing it early!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue