From: Daniel Colascione <dancol@dancol.org>
To: "T.V Raman" <raman@google.com>, emacs-devel@gnu.org
Subject: Re: Increase gc-cons-threshold during package-init?
Date: Mon, 19 Feb 2018 09:27:36 -0800 [thread overview]
Message-ID: <06fe2d66-bc22-3006-f9f0-17e9b63d0061@dancol.org> (raw)
In-Reply-To: <p914lmchp0s.fsf@google.com>
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.
next prev parent reply other threads:[~2018-02-19 17:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 17:23 Increase gc-cons-threshold during package-init? T.V Raman
2018-02-19 17:27 ` Daniel Colascione [this message]
2018-02-19 18:35 ` Eli Zaretskii
2018-02-19 21:15 ` Stefan Monnier
2018-02-20 0:49 ` T.V Raman
2018-02-20 17:27 ` Radon Rosborough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06fe2d66-bc22-3006-f9f0-17e9b63d0061@dancol.org \
--to=dancol@dancol.org \
--cc=emacs-devel@gnu.org \
--cc=raman@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.