[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: funcall consing
From: |
Eli Zaretskii |
Subject: |
Re: funcall consing |
Date: |
Sat, 01 Jan 2022 19:21:24 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: LdBeth <andpuke@foxmail.com>, tom@logand.com, emacs-devel@gnu.org
> Date: Sat, 01 Jan 2022 12:05:54 -0500
>
> Eli Zaretskii [2022-01-01 09:28:02] wrote:
> > See my other message about the details: you are reading too much into
> > the doc string.
>
> Nevertheless, 80 calls to the GC suggests that Emacs has allocated more
> than (* 80 gc-cons-threshold) bytes of heap data, whereas that sample
> code doesn't need to allocate anything at all, at first glance (so it
> should call the GC zero times).
I wasn't really talking specifically about this case, but about a
general principle.