[Openmcl-devel] tail calls in 1.3 IDE?
Arthur W Cater
arthur.cater at ucd.ie
Fri Aug 14 11:08:32 EDT 2009
> Someone checked in some code in some EasyGUI source file at some point
> that does something like:
> (declaim (optimize (safety 3) (debug 3) ...))
> They presumably intended to wrap that in an (EVAL-WHEN (:COMPILE-
> TOPLEVEL) ...
I'm that somebody, and again I apologise.
However, I suspect that wrapping in eval-when as suggested will still affect files subsequently
compiled in the same session, at least. Maybe my mental model is wrong, but ... I think
eval-when controls the time of evaluation but not the scope of any consequential changes.
So, if a file with that declaration is compiled, the optimizations are set at compile time, and
persist afterward. Which if true would mean that unfortunately you always have to explicitly reset the optimization settings to their defaults unless you intend these knock-on effects.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel