summaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el
new file mode 100644
index 0000000..30e8037
--- /dev/null
+++ b/early-init.el
@@ -0,0 +1,4 @@
+(setq native-comp-async-jobs-number (string-to-number (shell-command-to-string "nproc"))
+ native-compile-target-directory (file-name-concat (getenv "HOME") ".cache/emacs-native-comp")
+ native-comp-eln-load-path (cons native-compile-target-directory native-comp-eln-load-path)
+ gc-cons-threshold (* 64 (expt 1024 2)))