From 0e9c5bba140264efb1cbdb79ccf04c647e834d55 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Wed, 17 May 2023 23:51:11 -0400 Subject: Add the Garbage Collector Magic Hack --- early-init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'early-init.el') diff --git a/early-init.el b/early-init.el index f53a8bc..f183fcc 100644 --- a/early-init.el +++ b/early-init.el @@ -6,6 +6,19 @@ ;; absolutely must be in Early Init. +;; --------------------------------------------------------------------- +;;; Performance hacks +;; ------------------ +;; These hacks subjectively make Emacs perform "better" +;; --------------------------------------------------------------------- + +;; Defer garbage collection until later in the startup process +(setq gc-cons-threshold most-positive-fixnum + gc-cons-percentage 0.6) + + + + ;; --------------------------------------------------------------------- ;;; UI Adjustments ;; --------------- -- cgit v1.2.3 From 233a74dae67e1fdb08aad2fdc77d31d392fbf1ad Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Thu, 18 May 2023 00:06:13 -0400 Subject: Fix formatting for GCMH subsection --- early-init.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'early-init.el') diff --git a/early-init.el b/early-init.el index f183fcc..1f01c0a 100644 --- a/early-init.el +++ b/early-init.el @@ -12,6 +12,13 @@ ;; These hacks subjectively make Emacs perform "better" ;; --------------------------------------------------------------------- + +;; --------------------------------- +;; GCMH +;; ---- +;; Garbage Collector Magic Hack +;; --------------------------------- + ;; Defer garbage collection until later in the startup process (setq gc-cons-threshold most-positive-fixnum gc-cons-percentage 0.6) -- cgit v1.2.3