diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-17 23:51:11 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-17 23:51:11 -0400 |
commit | 0e9c5bba140264efb1cbdb79ccf04c647e834d55 (patch) | |
tree | 036fe362ba349c5e12a8efefc4cae95ed7d1c036 /early-init.el | |
parent | Add all the icons (diff) | |
download | mmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.tar.gz mmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.tar.bz2 mmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.zip |
Add the Garbage Collector Magic Hack
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index f53a8bc..f183fcc 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -7,6 +7,19 @@ | |||
7 | 7 | ||
8 | 8 | ||
9 | ;; --------------------------------------------------------------------- | 9 | ;; --------------------------------------------------------------------- |
10 | ;;; Performance hacks | ||
11 | ;; ------------------ | ||
12 | ;; These hacks subjectively make Emacs perform "better" | ||
13 | ;; --------------------------------------------------------------------- | ||
14 | |||
15 | ;; Defer garbage collection until later in the startup process | ||
16 | (setq gc-cons-threshold most-positive-fixnum | ||
17 | gc-cons-percentage 0.6) | ||
18 | |||
19 | |||
20 | |||
21 | |||
22 | ;; --------------------------------------------------------------------- | ||
10 | ;;; UI Adjustments | 23 | ;;; UI Adjustments |
11 | ;; --------------- | 24 | ;; --------------- |
12 | ;; The primary goal of this Section is to prevent Emacs from flashing or | 25 | ;; The primary goal of this Section is to prevent Emacs from flashing or |