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

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

Re: limit native compilation - how


From: H. Dieter Wilhelm
Subject: Re: limit native compilation - how
Date: Mon, 17 Jan 2022 17:11:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>> Cc: help-gnu-emacs@gnu.org
>> Date: Mon, 17 Jan 2022 14:38:46 +0100
>> 
>> > This typically happens during the first few minutes of a session, and
>> 
>> For a session only?!
>
> The first session (assuming your use patterns are repeatable enough).
>
>> I hoped that the cache (or the .eln files) can last a live time of an
>> Emacs build!  Except maybe when packages will be updated.
>
> That's what I meant, except that I was talking about the bundled
> packages.

All right, I felt it was 70 % clear but I wanted it 100 %, thank you!

>> I just updated some Elpa packages and it seems they won't be natively
>> compiled at this stage.
>
> They will be compiled when Emacs loads them for the first time,
> assuming that they were byte-compiled into *.elc.

Micromanagement alert:

I'm wondering if it would be more fluid to compile packages natively
during installation and updating?  The user expects then a delay,
anyway, and might be spared small "jerkings" during normal operation..

>> > then subsides.  It's JIT compilation in action, and is normal.  The
>> > JIT compilation uses half the execution cores of the machine.
>> 
>> Half the cores, I see, thanks
>
> (And of course there's a defcustom to tune this.)

  :-)    

-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany



reply via email to

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