Set GC threshold

This commit is contained in:
laurensmiers 2018-06-26 12:50:14 +02:00
parent b621088849
commit f4b6e23942

View file

@ -65,12 +65,12 @@ so rebind it to something easy to remember.
I used to have the following enabled in my init to increase the gc threshold to speed-up emacs startup: I used to have the following enabled in my init to increase the gc threshold to speed-up emacs startup:
(stolen from [[http://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/]]) (stolen from [[http://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/]])
#+BEGIN_SRC #+BEGIN_SRC emacs-lisp
;; (setq gc-cons-threshold 100000000) (setq gc-cons-threshold 100000000)
#+END_SRC #+END_SRC
But according to this: [[https://lists.gnu.org/archive/html/help-gnu-emacs/2007-06/msg00243.html ]], But according to this: [[https://lists.gnu.org/archive/html/help-gnu-emacs/2007-06/msg00243.html ]],
it is no longer necessary. it is no longer necessary. But I found that I still have to do this to speed up emacs.
** Yes-or-no questions ** Yes-or-no questions