优化 GC

参考:LSP Mode Performance

;; Optmization
;; Sources:
;;
;; - https://www.reddit.com/r/emacs/comments/ofhket/further_boost_start_up_time_with_a_simple_tweak/
;; - https://emacs-lsp.github.io/lsp-mode/page/performance/
;;
(setq gc-cons-threshold 32000000) ;; 32mb
(setq read-process-output-max (* 1024 1024)) ;; 1mb

将启动速度优化到 3 秒左右。

Dumping Emacs