all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bozhidar Batsov <bozhidar@batsov.com>
Cc: mwd@md5i.com, emacs-devel@gnu.org
Subject: Re: Default history-length should be higher
Date: Sun, 26 Jan 2014 21:44:35 +0200	[thread overview]
Message-ID: <83r47ua5p8.fsf@gnu.org> (raw)
In-Reply-To: <CAM9Zgm3JFVB+BzQ5gJ9g2fv60APBoQzcfS8L3aRzTCcNURDjeg@mail.gmail.com>

> Date: Sun, 26 Jan 2014 21:22:37 +0200
> From: Bozhidar Batsov <bozhidar@batsov.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> While we're at it - why not increase the default `gc-cons-threshold' as
> well. Currently the default is 0.8 MB, which seems super-conservative given
> today most computers have 1GB+ of memory. Code that creates a lot of
> objects would obviously be impacted significantly, since GC would be
> performed frequently. Setting it to something in between 10MB and 50MB
> seems much more reasonable to me.

Did you try that?  If not, please do.  In my experience, your
suggestion has a downside: the GC indeed happens less frequently, but
when it does, it takes an annoyingly long time.  I find it easier to
tolerate many GCs that run to completion in less than a second, than
to have a few GCs that take several seconds each.



  reply	other threads:[~2014-01-26 19:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 19:10 Default history-length should be higher Tom
2014-01-24 20:54 ` Stefan Monnier
2014-01-25  1:35   ` Drew Adams
2014-01-25  6:39     ` Tom
2014-01-25  7:42       ` Drew Adams
2014-01-25  7:56         ` Tom
2014-01-25  8:05           ` Tom
2014-01-25  8:45           ` Drew Adams
2014-01-26  5:00           ` Michael Welsh Duggan
2014-01-26 19:22             ` Bozhidar Batsov
2014-01-26 19:44               ` Eli Zaretskii [this message]
2014-01-26 20:19                 ` Bozhidar Batsov
2014-01-26 20:34                 ` Óscar Fuentes
2014-01-26 21:16                   ` Drew Adams
2014-01-26 23:44               ` Trent W. Buck
2014-01-26 23:52               ` Stefan Monnier

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=83r47ua5p8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bozhidar@batsov.com \
    --cc=emacs-devel@gnu.org \
    --cc=mwd@md5i.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.