diff options
author | Ashton Wiersdorf <mail@wiersdorf.dev> | 2024-09-05 21:36:47 -0600 |
---|---|---|
committer | Ashton Wiersdorf <mail@wiersdorf.dev> | 2024-09-05 21:36:47 -0600 |
commit | d5fdfccde56cb7e15478763f8ff07448b3889fae (patch) | |
tree | 9e1f1686dee164438168d8d4d349bf50c7dcdb64 | |
parent | f17a4b4d5116ac7eec3b30a0d43fa46eb074da0b (diff) |
Revert GC threshold after startup
-rw-r--r-- | early-init.el | 1 | ||||
-rw-r--r-- | init.el | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index 8bd3ddb..9782b87 100644 --- a/early-init.el +++ b/early-init.el @@ -16,6 +16,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Startup speed, annoyance suppression +(setq bedrock--initial-gc-threshold gc-cons-threshold) (setq gc-cons-threshold 10000000) (setq byte-compile-warnings '(not obsolete)) (setq warning-suppress-log-types '((comp) (bytecomp))) @@ -252,3 +252,5 @@ If the new path's directories does not exist, create them." ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) + +(setq gc-cons-threshold (or bedrock--initial-gc-threshold 800000)) |