emacs-devel
[Top][All Lists]
Advanced

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

Re: byte-opt.el addition - optimize list of compile-time constants


From: Miles Bader
Subject: Re: byte-opt.el addition - optimize list of compile-time constants
Date: Thu, 9 Dec 2004 13:54:51 +0900

> Also, in Common Lisp the situation is clearly that the compiler _is_
> entitled to compile (function ...) wherever it finds it

Can you provide a reference for this?  Given that it's quite
dangerous, I'm skeptical of this claim.

Note that a possibly safer alternative would be to have the #' reader
macro expand into something less ambiguous during compilation (e.g., a
special non-interned symbol), which the byte-compiler could then
safely interpret inside of constants.  This may cause grief for
somebody that uses #' in a non-traditional way, and _expects_ to see
(function (lambda ...)), but that may be an acceptable price.

-Miles




reply via email to

[Prev in Thread] Current Thread [Next in Thread]