unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: eliz@is.elta.co.il, emacs-devel@gnu.org
Subject: Re: Does a larger gc-cons-threshold mean a faster Emacs?
Date: Mon, 29 Jul 2002 11:30:08 -0600 (MDT)	[thread overview]
Message-ID: <200207291730.g6THU8x14005@aztec.santafe.edu> (raw)
In-Reply-To: <87sn23v2nt.fsf@openprivacy.org> (burton@openprivacy.org)

    > Not exactly: it also makes each GC significantly slower (in my experience).

Part of GC spends time on garbage, but most of GC spends its time only
on live data.  So the time should be determined more by the amount of
live data than by the amount of garbage, unless there is lots and lots
of garbage.  Until the gc-cons-threshold becomes a few times the total
amount of live data, I'd expect increases in it not to cause any
slowdown.

Perhaps gc-cons-threshold should be a float which expresses a fraction
of the total amount of live data as of the last GC.

      parent reply	other threads:[~2002-07-29 17:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-27  1:17 Does a larger gc-cons-threshold mean a faster Emacs? Kevin A. Burton
2002-07-28  2:42 ` Richard Stallman
2002-07-28  2:54   ` Kevin A. Burton
2002-07-28 18:07 ` Eli Zaretskii
2002-07-28 23:44   ` Kevin A. Burton
2002-07-29  4:55     ` Eli Zaretskii
2002-07-29 17:30     ` Richard Stallman [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207291730.g6THU8x14005@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).