help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: setting an optimal value of gc-cons-threshold


From: Leo
Subject: Re: setting an optimal value of gc-cons-threshold
Date: Sun, 10 Jun 2007 11:59:54 +0100
User-agent: Gnus/5.110007 Emacs 23 (20070531) MULE/6.0 (HANACHIRUSATO) Fedora 7 (gnu/linux)

----- Stephen Berman (2007-06-10) wrote:-----

> On Sat, 09 Jun 2007 21:04:01 -0400 Stefan Monnier <address@hidden> wrote:
>
>>> I found quite a few people in their .emacs setting gc-cons-threshold to
>>> a different value than the default 400000.
>>
>>> I wonder if there is a guidance for setting this value.
>>
>> Better not touch it.  In Emacs-22 we introduced gc-cons-percentage which
>> provides the same benefit as increasing gc-cons-threshold but without
>> the drawbacks.  And without having to fiddle with it.
>>
>> I.e. I'd recommend users to remove any gc-cons-threshold settings from their
>> .emacs.
>
> Perhaps this recommendation should be mentioned in the manual and
> docstrings.

I second this.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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