Update Rust config and startup GC config

This commit is contained in:
Maciej 2024-02-07 18:41:03 +02:00
parent d563db5f50
commit 38894e073a
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 6 additions and 10 deletions

View file

@ -10,8 +10,9 @@
;;; Code:
;; Set GC at 300 MB for startup
(setq gc-cons-threshold 300000000)
;; Set GC at 500 MB for startup
(setq gc-cons-threshold 500000000)
(setq gc-cons-percentage 0.6)
;;; Use straight.el for package management
(defvar bootstrap-version)
@ -88,6 +89,7 @@
;; Restore GC to normal, but still high
(setq gc-cons-threshold 100000000)
(setq gc-cons-percentage 0.1)
(provide '+custom-init)
;;; custom-init.el ends here