From 98cf12ec88cfbf49f3dc88e596919656f6d97097 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sun, 12 Oct 2025 18:10:16 +0100 Subject: Increase gc threshold on startup --- emacs-config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs-config.org b/emacs-config.org index 222ab25..62b7da8 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -5,6 +5,13 @@ * General ** Early Init +Enlarge garbage collection to speed up startup. +#+begin_src elisp :tangle "~/.config/emacs/early-init.el" + (setq gc-cons-threshold most-positive-fixnum) + (add-hook 'after-init-hook (lambda () + (setq gc-cons-threshold 800000))) +#+end_src + Ensure dark background on startup. #+begin_src elisp :tangle "~/.config/emacs/early-init.el" (setq default-frame-alist '((background-color . "#000000") -- cgit