[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in
Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in import libraries when there is no syntax exported (mostly fixes #1457)
Sun, 20 May 2018 21:18:27 +0200
On Sun, May 20, 2018 at 08:55:19PM +0200, Peter Bex wrote:
> If a module imports foo, we emit (eval '(import-syntax foo)) in the
> import library for that module. The idea here is that this might
> be necessary if the module exports syntax forms, because a macro
> transformer in principle runs arbitrary code that expands to
> arbitrary identifiers.
I remembered that this slow import library loading has been reported
before, even with CHICKEN 4 (which slightly less of an issue because
we have less libraries there), see #1172. This patch fixes that problem
too, because most of the evals will be gone from import libraries.
Description: PGP signature