commit bc3dcb9500205132dbaba043a2859869dae4bfdd parent 792fe574ebd3a7b1aa5dfaf9a97987d75a430cfc Author: Michael Neuper <michael@michaelneuper.com> Date: Fri, 15 Nov 2024 14:43:38 +0200 make emacs faster Diffstat:
| M | config.org | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/config.org b/config.org @@ -30,6 +30,15 @@ (pixel-scroll-precision-mode 1) +; make emacs faster +(use-package! gcmh + :init + (setq gcmh-idle-delay 5 + gcmh-high-cons-threshold (* 256 1024 1024)) ; 256MB during idle + :config + (gcmh-mode 1)) + +(setq gc-cons-threshold 200000000) ; previous 33554432 #+end_src ** Doom #+begin_src emacs-lisp