[asdf-devel] optimization settings

Faré fahree at gmail.com
Wed Mar 19 22:15:27 UTC 2014

On Wed, Mar 19, 2014 at 5:54 PM, Robert Brown <robert.brown at gmail.com> wrote:
> Does ASDF set compiler optimization settings before compiling
> each file when building?
Not by default, though you can teach it to.

> I'm concerned that changing the
> optimization setting inside one source file could cause the
> change to stick and be used for other files.  I don't think the
> CL standard mandates that "(declaim (optimize ... ))" applies
> only to the current file.
And indeed, I seem to remember that SBCL made it local, but CCL
global, and that it was affecting our build at ITA, and QRes had its
own way of resetting it before every compilation.

> The issue is similar to that of readtables ...
Indeed it is, though at least the optimization is supposed not to
modify the semantics of correct programs.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
He has the first half of the Golden Rule down pat: Do unto others.
        — John McCarthy

More information about the asdf-devel mailing list