emacs-devel
[Top][All Lists]
Advanced

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

Re: Eager garbage collection


From: Andrea Corallo
Subject: Re: Eager garbage collection
Date: Wed, 18 Nov 2020 17:12:20 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Setting a lower threshold there also prevents functions that may be
>> executed by timers to leave the heap with garbage just before the user
>> start the next command.
>
> This is risky, tho, because a low threshold will increase the proportion
> of time spent in GC, which could negatively impact the performance of
> process-filters.

When I say low threshold I think to something in the magniture order of
the current default, so in practice this is not a problem.

Also I though was a feature to have the guarantee that before starting
the next command after idle the garbage was under a certain threshold.

As a consequence I still have the Lisp as my favorite.

That said, I indeed like the feature :)

  Andrea



reply via email to

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