emacs-devel
[Top][All Lists]
Advanced

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

Re: Eager garbage collection


From: Spencer Baugh
Subject: Re: Eager garbage collection
Date: Tue, 17 Nov 2020 23:05:22 -0500

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>The time to do a GC doesn't depend on the amount of garbage so much as
>>>the size of the heap, but I think I like your idea.  Better yet: keep
>>>track of the time that each GC takes and use that as a guide for the
>>>idle-time delay.
>>
>> OK, I added an exponential-moving-average to track the time that GC
>> uses, and use it as the idle-time delay, with the idea that if we
>> reach idle time X, the naive best estimate of the total idle time is
>> 2*X. See following patches.
>
> The code is looking pretty good.  I have a few minor comments to make
> about it, but the only significant one is that it's a bit more than what
> we can consider as trivial.
>
> AFAICT you haven't yet signed the copyright paperwork for contributions
> to Emacs, so we'd need you to do that before we can accept your code.

I actually submitted the paperwork just yesterday (finally got around to
it since I was sending this in) - I assume it's still being processed.



reply via email to

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