(Emacs/init)~gc-cons-threshold is set to max at start of bootup
This commit is contained in:
@@ -25,8 +25,7 @@
|
|||||||
;; Before doing anything else, make gc-cons-threshold ridiculously
|
;; Before doing anything else, make gc-cons-threshold ridiculously
|
||||||
;; high. This makes it so we have as few pauses during init as
|
;; high. This makes it so we have as few pauses during init as
|
||||||
;; possible.
|
;; possible.
|
||||||
(setq gc-cons-threshold (* 1024 1024 1024)) ; ~1GiB
|
(let ((gc-cons-threshold most-positive-fixnum))
|
||||||
|
|
||||||
;; Straight
|
;; Straight
|
||||||
(defvar bootstrap-version)
|
(defvar bootstrap-version)
|
||||||
(let ((bootstrap-file
|
(let ((bootstrap-file
|
||||||
@@ -78,7 +77,7 @@
|
|||||||
(require 'notmuch)
|
(require 'notmuch)
|
||||||
(require 'company)
|
(require 'company)
|
||||||
(require 'org)
|
(require 'org)
|
||||||
(require 'eglot))
|
(require 'eglot)))
|
||||||
|
|
||||||
(setq gc-cons-threshold (* 100 1024 1024) ; ~100MiB
|
(setq gc-cons-threshold (* 100 1024 1024) ; ~100MiB
|
||||||
read-process-output-max 5242880 ; ~5MiB
|
read-process-output-max 5242880 ; ~5MiB
|
||||||
|
|||||||
Reference in New Issue
Block a user