-
- Downloads
Apply type declarations to special variables. The example
(declaim (optimize (speed 3) (debug 0) (safety 0))) (defparameter x 10) (defun df-square (x) (declare (type double-float x)) (* x x)) used to print a long list of optimization notes because the double-float declaration for X was effectively swept under the carpet. From Alexey Dejneka in SBCL. * src/compiler/ir1tran.lisp (process-type-declaration): Apply type declaration to special variable bindings as well.
Loading
Please register or sign in to comment