emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Increase gc-cons-threshold during package-init?


From: Daniel Colascione
Subject: Re: Increase gc-cons-threshold during package-init?
Date: Mon, 19 Feb 2018 09:27:36 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 02/19/2018 09:23 AM, T.V Raman wrote:
With Emacs now calling package-initialize on its own, I noticed (after
removing package-initialize from my emacs init file)
that emacs startup was now  entailing 3 times as many gc calls during
startup as before. One guess is that my init file was lexically
binding gc-cons-threshold to 64MB --- the default gc-cons-threshold
of 800K is likely from the past and could be increased.

There's a tradeoff though: increasing gc-cons-threshold means that the GC that eventually occurs takes longer. I wish we had generational GC.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]