emacs-devel
[Top][All Lists]
Advanced

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

Re: GC (was: lists.texi)


From: Miles Bader
Subject: Re: GC (was: lists.texi)
Date: Sat, 25 Jun 2005 21:15:19 +0900

On 6/25/05, Eli Zaretskii <address@hidden> wrote:
> If we find that my experience of yore is no longer relevant, I agree.
> But then we should probably modify the default of the threshold
> accordingly, instead of telling users to mess with it.  For example,
> the default value could be dependent on the amount of installed
> memory.

Yes I think that would be a good idea.  Setting the cons-threshold to
say 1 or 2% of RAM size would yield roughly the numbers which are
being recommended (at 1%, you'd get 640K on a 64MB system, and 5MB on
a 512MB system).

Getting that number is system-dependent of course, but there seems no
reason not to do it on systems where someone wants to write the code
(it can even be done in lisp on linux, by reading /proc/meminfo).

-Miles
-- 
Do not taunt Happy Fun Ball.




reply via email to

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