emacs-devel
[Top][All Lists]
Advanced

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

Re: Are "proper" closures used in Emacs sources?


From: Stefan Monnier
Subject: Re: Are "proper" closures used in Emacs sources?
Date: Tue, 12 Jan 2021 12:22:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I've put a print in `byte-compile-make-closure' and did a bootstrap.
>
> I'm counting 7289 occurrences in the Emacs code base.  Is this a correct
> estimation?

Probably, but I suspect most of them are in the "downward funarg"
category, i.e. they'd work just as well with dynamic scope because they
don't outlive their own scope.


        Stefan




reply via email to

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