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

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

Re: Native compilation by default? (was: Re: stats say SBCL is 78 875 %


From: Emanuel Berg
Subject: Re: Native compilation by default? (was: Re: stats say SBCL is 78 875 % faster than natively compiled Elisp)
Date: Tue, 21 Feb 2023 23:21:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

>>> Is my understanding of the documentation - that native
>>> compilation is an automatic side effect of byte
>>> compiling, wrong?
>>
>> Yes, it's wrong. Native compilation happens automatically
>> when you _load_ a .elc file, not when you compile it.
>
> It doesn't happen when you byte-compile but it also don't
> happen when you load it, or that depends what you mean by
> "load"ing.

Use `native-compile', works for individual Elisp files -
and more.

See an example here:

  https://dataswamp.org/~incal/emacs-init/Makefile

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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