(Emacs/init)~gc-cons-threshold is set to max at start of bootup

This commit is contained in:
2024-05-06 02:36:54 +05:30
parent 14f29b8319
commit 41bf661eed

View File

@@ -25,8 +25,7 @@
;; Before doing anything else, make gc-cons-threshold ridiculously
;; high. This makes it so we have as few pauses during init as
;; possible.
(setq gc-cons-threshold (* 1024 1024 1024)) ; ~1GiB
(let ((gc-cons-threshold most-positive-fixnum))
;; Straight
(defvar bootstrap-version)
(let ((bootstrap-file
@@ -78,7 +77,7 @@
(require 'notmuch)
(require 'company)
(require 'org)
(require 'eglot))
(require 'eglot)))
(setq gc-cons-threshold (* 100 1024 1024) ; ~100MiB
read-process-output-max 5242880 ; ~5MiB