GNU bug report logs - #64712
29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup

Previous Next

Package: emacs;

Reported by: Stephen Molitor <stephen.molitor <at> icloud.com>

Date: Tue, 18 Jul 2023 16:19:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 29.0.92

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 64712 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>, Stefan Kangas <stefankangas <at> gmail.com>
Cc: acorallo <at> gnu.org, stephen.molitor <at> icloud.com, 64712 <at> debbugs.gnu.org
Subject: Re: bug#64712: 29.0.92; Emacs 29 with native compilation compiles
 cl-loaddefs.el on every startup
Date: Wed, 6 Sep 2023 15:26:20 +0300
On 03/09/2023 08:15, Eli Zaretskii wrote:
>> I personally can't see that it would make much of a difference if we
>> have them or not, but maybe I'm missing something.
> If nothing else, it will slow down startup (because each .eln files
> needs to be loaded via dlopen, as opposed to .elc that is dumped into
> the pdumper file), albeit insignificantly.  But if we do this with all
> the autoload files we have, that could slow down in a more tangible
> ways.  So basically we have here two minor annoyances: you can solve
> one, but then you "gain" the other one.

So you suppose

  - Findinb .eln in its load path
  - dlopen-ing it

can be slower than

  - Looking for .eln in its load path, not finding it
  - Extracting cl-loaddefs.el from cl-loaddefs.el.gz
  - Loading it

?




This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.