[slime-devel] Re: compiling forms/regions/defuns with (optimize (debug 3) (speed 0) (safety 0))
Helmut Eller
heller at common-lisp.net
Wed Nov 22 15:59:50 UTC 2006
* Marco Baringer [2006-11-22 14:28+0100] writes:
> but we could add a :declarations parameter to
> swank-backend:swank-compile-string. on lisps where it's possible
> (sbcl, cmucl for now) we'd use whatever hooks it took to change these
> settings locally, other lisps could just ignore them.
>
> is this good enough?
Alternatively, we could add something (backend specific) to access the
current optimization policy and do something like:
(let ((old-policy (get-policy)))
(proclaim '(optimize (debug 3)))
(compile ...)
(proclaim old-policy))
Helmut.
More information about the slime-devel
mailing list