all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Default history-length should be higher
Date: Sun, 26 Jan 2014 21:34:37 +0100	[thread overview]
Message-ID: <87k3dm1nz6.fsf@wanadoo.es> (raw)
In-Reply-To: 83r47ua5p8.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

> 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.

A bit of VC speleology showed this:

eb6a66b5 src/alloc.c  (Richard M. Stallman 1995-07-19 03:39:43 +0000 6734)   gc_cons_threshold = 100000 * sizeof (Lisp_Object);

So the current value of gc_cons_threshold comes from 1995. Today's
low-end machines are several times faster than high-end workstations at
that time.

So maybe it is worth experimenting with higher values. I'll do like
Bozhidar Batsov and set gc-cons-threshold to some large value and see
how it goes. I'm a flx user too.




  parent reply	other threads:[~2014-01-26 20:34 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
2014-01-26 20:19                 ` Bozhidar Batsov
2014-01-26 20:34                 ` Óscar Fuentes [this message]
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=87k3dm1nz6.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --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 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.