emacs-devel
[Top][All Lists]
Advanced

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

Re: Does a larger gc-cons-threshold mean a faster Emacs?


From: Richard Stallman
Subject: Re: Does a larger gc-cons-threshold mean a faster Emacs?
Date: Sat, 27 Jul 2002 20:42:45 -0600 (MDT)

    Subject: Does a larger gc-cons-threshold mean a faster Emacs?

Up to a point, yes.

    (setq gc-cons-threshold (* 8192 8192))

    Which seems to yield decent speed (though Emacs uses 50M)

    If I set it to anything higher... I get CONSTANT gc and lock my CPU at 100%
    (emacs is dead)

Precisely what larger value did you use?  Was it so large
that it caused arithmetic overflow and gave you a negative number?


If you used a sufficiently large value, it would overflow.



reply via email to

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