diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-18 00:49:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 00:49:35 -0400 |
commit | c5b82c12aa13d7125552f29c8f9fd2c5c5114d94 (patch) | |
tree | 3d39fabb05f3703d659aa623411eb29d2264edb1 /early-init.el | |
parent | Add all the icons (diff) | |
parent | Add `async` package and enable `async-bytecomp-package-mode` (diff) | |
download | mmosmacs-c5b82c12aa13d7125552f29c8f9fd2c5c5114d94.tar.gz mmosmacs-c5b82c12aa13d7125552f29c8f9fd2c5c5114d94.tar.bz2 mmosmacs-c5b82c12aa13d7125552f29c8f9fd2c5c5114d94.zip |
PR #25: Merge `performance-improvements` branch to `stable` branch
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index f53a8bc..1f01c0a 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -7,6 +7,26 @@ | |||
7 | 7 | ||
8 | 8 | ||
9 | ;; --------------------------------------------------------------------- | 9 | ;; --------------------------------------------------------------------- |
10 | ;;; Performance hacks | ||
11 | ;; ------------------ | ||
12 | ;; These hacks subjectively make Emacs perform "better" | ||
13 | ;; --------------------------------------------------------------------- | ||
14 | |||
15 | |||
16 | ;; --------------------------------- | ||
17 | ;; GCMH | ||
18 | ;; ---- | ||
19 | ;; Garbage Collector Magic Hack | ||
20 | ;; --------------------------------- | ||
21 | |||
22 | ;; Defer garbage collection until later in the startup process | ||
23 | (setq gc-cons-threshold most-positive-fixnum | ||
24 | gc-cons-percentage 0.6) | ||
25 | |||
26 | |||
27 | |||
28 | |||
29 | ;; --------------------------------------------------------------------- | ||
10 | ;;; UI Adjustments | 30 | ;;; UI Adjustments |
11 | ;; --------------- | 31 | ;; --------------- |
12 | ;; The primary goal of this Section is to prevent Emacs from flashing or | 32 | ;; The primary goal of this Section is to prevent Emacs from flashing or |