- 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
12 lines
309 B
EmacsLisp
12 lines
309 B
EmacsLisp
;;; early-init.el -*- lexical-binding: t; -*-
|
|
|
|
;; 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)))
|