emacs: try setting a smaller gc-cons-threshold initially
authorAmin Bandali <bandali@gnu.org>
Sat, 11 Apr 2020 03:44:05 +0000 (23:44 -0400)
committerAmin Bandali <bandali@gnu.org>
Sat, 11 Apr 2020 03:44:05 +0000 (23:44 -0400)
doesn't seem to have an adverse effect on emacs-init-time

.emacs.d/init.el

index 1fd13f9..056f4a7 100644 (file)
@@ -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