From 5721e186088b1e703d575da70442315c796cf3bb Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Fri, 13 Jun 2025 19:18:20 +0200 Subject: [PATCH] increased gc threashold during startup --- early-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 115f1df6..2d3ef03a 100644 --- a/early-init.el +++ b/early-init.el @@ -8,7 +8,7 @@ ;; A big contributor to startup times is garbage collection. We up the gc ;; threshold to temporarily prevent it from running, then reset it later by ;; enabling `gcmh-mode'. Not resetting it will cause stuttering/freezes. -(setq gc-cons-threshold (* 100 1024 1024)) ;; Make startup faster by reducing the frequency of garbage collection. The default is 800 kilobytes. Measured in bytes. Will (and should) be decreased again at the end. +(setq gc-cons-threshold (* 200 1024 1024)) ;; Make startup faster by reducing the frequency of garbage collection. The default is 800 kilobytes. Measured in bytes. Will (and should) be decreased again at the end. ;; make UTF-8 the default coding system: (set-language-environment "UTF-8")