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: Stefan Monnier
Subject: Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp
Date: Fri, 03 Mar 2023 09:55:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> All that is fine, but the question was about producing the eln file in
> the first place.  The documentation and the information posted here
> indicated it will be produced when the elc file is loaded.
>
> That explicitly does not happen in those cases I enumerated above, and
> in some other cases.

I'm not familiar with the details of that code, sorry.

> The backstory is I wanted to test something without putting it
> load-path.

IIUC whether it's in `load-path` or not shouldn't make any difference.
The only relevant part is whether you give the .el/elc extension to
`load` or whether you rely on `load-suffixes` instead.

I expect (load "....elc") should *not* native-compile the file, since it
would not load it either.

        Stefan




reply via email to

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