Max out GC threshold during startup

This commit is contained in:
2024-09-19 14:23:53 -07:00
parent 01c60ede5e
commit 796cb7112c

View File

@@ -1,2 +1,8 @@
;; Disable package.el in favor of straight.el ;; Disable package.el in favor of straight.el
(setq package-enable-at-startup nil) (setq package-enable-at-startup nil)
(setq gc-cons-threshold most-positive-fixnum)
(add-hook 'emacs-startup-hook
(lambda ()
(setq gc-cons-threshold (* 16 1024 1024))))