increased gc threashold during startup
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
;; A big contributor to startup times is garbage collection. We up the gc
|
;; A big contributor to startup times is garbage collection. We up the gc
|
||||||
;; threshold to temporarily prevent it from running, then reset it later by
|
;; threshold to temporarily prevent it from running, then reset it later by
|
||||||
;; enabling `gcmh-mode'. Not resetting it will cause stuttering/freezes.
|
;; enabling `gcmh-mode'. Not resetting it will cause stuttering/freezes.
|
||||||
(setq gc-cons-threshold (* 100 1024 1024)) ;; Make startup faster by reducing the frequency of garbage collection. The default is 800 kilobytes. Measured in bytes. Will (and should) be decreased again at the end.
|
(setq gc-cons-threshold (* 200 1024 1024)) ;; Make startup faster by reducing the frequency of garbage collection. The default is 800 kilobytes. Measured in bytes. Will (and should) be decreased again at the end.
|
||||||
|
|
||||||
;; make UTF-8 the default coding system:
|
;; make UTF-8 the default coding system:
|
||||||
(set-language-environment "UTF-8")
|
(set-language-environment "UTF-8")
|
||||||
|
|||||||
Reference in New Issue
Block a user