Tweak garbage collection
This commit is contained in:
parent
0905fab8ee
commit
6e7a17b6e0
|
@ -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 ()
|
||||
|
|
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue