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

New special form suggestion: LET-CONSTANT



There's actually no need for a declaration or special form.  LET will
do fine all by itself.  If the expression to which the variable is
bound is constant and there are no SETQs to the variable, all
references to the variable may be legitimately replaced by the
constant expression.  This is a very common optimization in Lisp
compilers.  However, as far as I know it is not done by the Symbolics
compiler.