emacs-devel
[Top][All Lists]
Advanced

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

Re: funcall consing


From: Eli Zaretskii
Subject: Re: funcall consing
Date: Fri, 31 Dec 2021 20:42:36 +0200

> Date: Fri, 31 Dec 2021 23:09:56 +0800
> From: LdBeth <andpuke@foxmail.com>
> Cc: Tomas Hlavaty <tom@logand.com>,
>       emacs-devel@gnu.org
> 
> > (4.9373091140000005 80 3.4835688719999958)
> 
> The `80' indicats the GC has been invoked 80 times. That is the direct
> indication of "consing".

Why are you saying that the number of times GC has been invoked is the
direct indication of consing?  I don't think it is.  Emacs doesn't
call GC because it knows how much consing was done, it calls GC in
certain strategic points in the interpreter, when the Lisp program
happens to hit those points.  And funcall is indeed one of those
points.



reply via email to

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