Tweak garbage collection

This commit is contained in:
Case Duckworth 2021-03-30 17:22:49 -05:00
parent 0905fab8ee
commit 6e7a17b6e0
2 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,8 @@
after init.")
(setq file-name-handler-alist nil)
(acdw/gc-disable)
(setq gc-cons-threshold (* 800 1024 1024)
gc-cons-percentage 0.6)
(add-hook 'after-init-hook
(defun hook--post-init-reset ()

View File

@ -57,7 +57,7 @@ Ready for use with `after-focus-change-function'."
;;; Garbage collection hacks
(defconst acdw/gc-cons-threshold-basis (* 800 1024 1024)
(defconst acdw/gc-cons-threshold-basis (* 800 1024)
"Basis value for `gc-cons-threshold' to return to after jumping.
800 KB is Emacs's default.")