diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -59,6 +59,38 @@ | |||
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 | ;; Async | ||
80 | ;; ----- | ||
81 | ;; Asynchronous processing of things | ||
82 | ;; --------------------------------- | ||
83 | |||
84 | ;; Async package | ||
85 | (use-package async | ||
86 | :straight t | ||
87 | :config | ||
88 | (setq async-bytecomp-package-mode t)) | ||
89 | |||
90 | |||
91 | |||
92 | |||
93 | ;; --------------------------------------------------------------------- | ||
62 | ;;; Graphical Environment | 94 | ;;; Graphical Environment |
63 | ;; ---------------------- | 95 | ;; ---------------------- |
64 | ;; MMOSMacs is intended to be my entire Desktop Environment. | 96 | ;; MMOSMacs is intended to be my entire Desktop Environment. |