projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8f6c63d
)
emacs: try setting a smaller gc-cons-threshold initially
author
Amin Bandali
<bandali@gnu.org>
Sat, 11 Apr 2020 03:44:05 +0000
(23:44 -0400)
committer
Amin 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
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
1fd13f9
..
056f4a7
100644
(file)
--- 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) ; 40
0 MiB
+(setq gc-cons-threshold (*
30 1024 1024) ; 3
0 MiB
gc-cons-percentage 0.6
file-name-handler-alist nil
;; sidesteps a bug when profiling with esup