From: Amin Bandali Date: Sat, 11 Apr 2020 03:44:05 +0000 (-0400) Subject: emacs: try setting a smaller gc-cons-threshold initially X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/bc58e70a99051e4b0d978a23615dc23d63115585?ds=inline emacs: try setting a smaller gc-cons-threshold initially doesn't seem to have an adverse effect on emacs-init-time --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1fd13f9..056f4a7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -54,7 +54,7 @@ (defvar b/gc-cons-threshold gc-cons-threshold) (defvar b/gc-cons-percentage gc-cons-percentage) (defvar b/file-name-handler-alist file-name-handler-alist) -(setq gc-cons-threshold (* 400 1024 1024) ; 400 MiB +(setq gc-cons-threshold (* 30 1024 1024) ; 30 MiB gc-cons-percentage 0.6 file-name-handler-alist nil ;; sidesteps a bug when profiling with esup