[Top][All Lists]

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

Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in

From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in import libraries when there is no syntax exported (mostly fixes #1457)
Date: Sun, 20 May 2018 21:18:27 +0200
User-agent: NeoMutt/20170113 (1.7.2)

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.


Attachment: signature.asc
Description: PGP signature

reply via email to

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