From bc58e70a99051e4b0d978a23615dc23d63115585 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 10 Apr 2020 23:44:05 -0400 Subject: [PATCH] emacs: try setting a smaller gc-cons-threshold initially doesn't seem to have an adverse effect on emacs-init-time --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1