[Ecls-list] bogus warning

Julian Stecklina der_julian at web.de
Fri Nov 5 06:03:16 UTC 2004


Juan Jose Garcia Ripoll <lisp at arrakis.es> writes:

>> Btw, is there a way to get constants inlined?
> Hmm, it only happens, currently, when the value is a number, T, NIL or
> a character. Otherwise it costs so much creating a copy of the value
> that the compiler prefers to look at the value of the symbol.

In this example a symbol_value() call is emitted by the compiler.

(defconstant +foo+ 12)

(defun foo-reader ()
  +foo+)

Regards,
-- 
                    ____________________________
 Julian Stecklina  /  _________________________/
  ________________/  /
  \_________________/  LISP - truly beautiful





More information about the ecl-devel mailing list