refactor: Reduce init time }:)
- Greatly increase gc-cons-threshold. This is the biggest win of this commit, shaving off about 400 ms. The GC runs a single time during init. - Sprinkle a few `:defer t`s throughout. wwwwfeat: Configure Orderless
This commit is contained in:
@@ -2,3 +2,10 @@
|
||||
|
||||
;; Disable package.el; we use Straight.
|
||||
(setq package-enable-at-startup nil)
|
||||
|
||||
;; Enable use-package statistics for the sake of start-up profiling.
|
||||
(setq use-package-compute-statistics t)
|
||||
|
||||
(setq gc-cons-threshold
|
||||
;; (4 gibibytes)
|
||||
(* 4 (expt 1024 3)))
|
||||
|
||||
Reference in New Issue
Block a user