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:
Madeleine Sydney
2025-01-13 11:39:51 -07:00
parent 224b2ee044
commit 55c3db8db5
4 changed files with 14 additions and 2 deletions

View File

@@ -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)))