[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define and set! with multiple-values
- To: gensym!bhyde@harvard.harvard.edu (Ben A. Hyde)
- Subject: Re: define and set! with multiple-values
- From: Bob Kerns <rwk@world.std.com>
- Date: Wed, 06 Jan 93 13:20:34 -0500
- Cc: info-dylan@cambridge.apple.com
- In-reply-to: Your message of "Wed, 06 Jan 93 10:04:41 EST." <9301061504.AA04635@gensym.com>
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.