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

Re: define and set! with multiple-values



    While I'm convinced that the tax is only a very few instructions on
    those forms I notice that in CMU Lisp on my sparc:
     (defun f (x) (g x))                           ->  80 bytes
     (defun f (x) (declare (special x)) (g x))     -> 312 bytes
     (defun f (x) (declare (special x)
                           (values fixnum)) (g x)) -> 173 bytes


Special variables are much more expensive than multiple values.