[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Garbage collector: is 800kb a good default?
From: |
Eli Zaretskii |
Subject: |
Re: Garbage collector: is 800kb a good default? |
Date: |
Thu, 09 Apr 2020 17:23:24 +0300 |
> From: Stefan Monnier <address@hidden>
> Date: Thu, 09 Apr 2020 09:47:38 -0400
> Cc: emacs-devel <address@hidden>
>
> What you're pointing out is that from the user's point of view, a GC
> during idle time is free (so it can occur frequently) and also that
> a GC during non-idle time can delay redisplay, so (ignoring all
> other impacts of GC) we should refrain from running GC while
> non-idle and trigger GC everything we're idle.
Let's not forget that running GC while Emacs is idle will make Emacs
less responsive if the user starts typing while GC is in progress,
specially if gc-cons-threshold is high. So it isn't entirely "free".
Also, we already try running GC each time Emacs becomes idle.
Re: Garbage collector: is 800kb a good default?, Bruno Félix Rezende Ribeiro, 2020/04/10
Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/09
- Re: Garbage collector: is 800kb a good default?, Dmitrii Korobeinikov, 2020/04/09
- Re: Garbage collector: is 800kb a good default?,
Eli Zaretskii <=
- Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/09
- Re: Garbage collector: is 800kb a good default?, Eli Zaretskii, 2020/04/09
- Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/09
- Re: Garbage collector: is 800kb a good default?, Eli Zaretskii, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Eli Zaretskii, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Stefan Monnier, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Eli Zaretskii, 2020/04/10
- Re: Garbage collector: is 800kb a good default?, Andrea Corallo, 2020/04/10