[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
&rest args -- (declarations)
- To: common-lisp@sail.stanford.edu
- Subject: &rest args -- (declarations)
- From: goldman@vaxa.isi.edu
- Date: Wed, 16 Mar 88 15:17:23 PST
- Posted-date: Wed, 16 Mar 88 15:17:23 PST
- Sender: goldman@vaxa.isi.edu
Has consideration been given to providing at least some declaration(s) the
programmer can make -- e.g.,
(DEFUN FOO (&REST L) (DECLARE (DYNAMIC-EXTENT L) (READ-ONLY L)) ...)
that would effectively AUTHORIZE a compiler to perform certain
optimizations/transformations even when it could NOT otherwise PROVE the
optimization/transformation preserved equivalence?
[At least one implementation already provides a similar declaration
for functional arguments, that authorizes the "consing" of
lexical closures on the stack.]
There is no doubt some latitude for choosing relevant declarations. I'm
NOT proposing a particular set here in the hope that the matter has already
been given more thought by someone else. Has it?
neil
- Follow-Ups:
- &REST args
- From: Charles Hornig <Hornig@ALDERAAN.SCRC.Symbolics.COM>