help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Did `inline' used to do something else?


From: Emanuel Berg
Subject: Re: Did `inline' used to do something else?
Date: Sun, 19 Nov 2017 18:17:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Michael Heerdegen wrote:

> That property is referenced by
> `byte-optimize-form' (in "byte-opt.el").
> Also see the flag `byte-optimize'.
>
> If you set `byte-optimize-log', you should be
> able to get a log of applied optimizations
> when compiling something.

Is there a list anywhere of aliases that are
"more than meets the eye"?

Is this only a byte-compiler thing or does it
happen elsewhere?

By the way it is interesting that Gnus is what
brought this issue up to date because Gnus (or
Emacs Lisp) has speed issues and one way in
Gnus to counteract it is the presence of
very long functions.

I suppose inlining could be a way to have
modular, fast code all at once (short, or at
least not marathon functions, that invoke each
other back and forth in code, while huge blocks
in execution).

Still, to have what appears to be just an alias
like this seems a bit risky. Set the docstring
for the alias?

    (defalias SYMBOL DEFINITION
      &optional DOCSTRING)

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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