From d7f4c994f8466f125e190076e28b5bdbea69289d Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Mon, 5 Aug 2024 01:50:33 -0400 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1fa4544..1a2f61e 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,13 @@ To activate gcmh-mode, add the following to the beginning of `~/.emacs.d/post-in :hook (emacs-init . gcmh-mode)) ``` +### How to increase gc-cons-threshold? + +Add the following to `~/.emacs.d/post-early-init.el`: +``` emacs-lisp +(setq minimal-emacs-gc-cons-threshold (* 64 1024 1024)) +``` + ### How to configure straight.el? [Add the straight.el bootstrap code](https://github.com/radian-software/straight.el?tab=readme-ov-file#getting-started) to `~/.emacs.d/pre-init.el`: