aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-17 23:51:11 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-17 23:51:11 -0400
commit0e9c5bba140264efb1cbdb79ccf04c647e834d55 (patch)
tree036fe362ba349c5e12a8efefc4cae95ed7d1c036 /init.el
parentAdd all the icons (diff)
downloadmmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.tar.gz
mmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.tar.bz2
mmosmacs-0e9c5bba140264efb1cbdb79ccf04c647e834d55.zip
Add the Garbage Collector Magic Hack
Diffstat (limited to 'init.el')
-rw-r--r--init.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.el b/init.el
index 209a9a4..74e9d8a 100644
--- a/init.el
+++ b/init.el
@@ -59,6 +59,25 @@
59 59
60 60
61;; --------------------------------------------------------------------- 61;; ---------------------------------------------------------------------
62;; Performance hacks
63;; -----------------
64;; These hacks subjectively make Emacs perform "better"
65;; ---------------------------------------------------------------------
66
67;; Garbage Collector Magic Hack
68(use-package gcmh
69 :straight t
70 :defer t
71 :init
72 (setq gcmh-idle-delay 15
73 gcmh-idle-delay-factor 10
74 gcmh-high-cons-threshold (* 16 (* 1024 1024))) ;16mb
75 :hook (after-init-hook . gcmh-mode))
76
77
78
79
80;; ---------------------------------------------------------------------
62;;; Graphical Environment 81;;; Graphical Environment
63;; ---------------------- 82;; ----------------------
64;; MMOSMacs is intended to be my entire Desktop Environment. 83;; MMOSMacs is intended to be my entire Desktop Environment.