GNU bug report logs - #58580
29.0.50; Ahead-of-time compilation for a few more files?

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 17 Oct 2022 09:12:01 UTC

Severity: normal

Tags: notabug

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: akrl <at> sdf.org, 58580 <at> debbugs.gnu.org
Subject: bug#58580: 29.0.50; Ahead-of-time compilation for a few more files?
Date: Mon, 17 Oct 2022 16:34:05 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 58580 <at> debbugs.gnu.org,  akrl <at> sdf.org
> Date: Mon, 17 Oct 2022 13:25:51 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> This suggests to me that we should AOT a bunch of these libraries
> >> (rx/subr-x/etc) by default that are virtually impossible to use Emacs
> >> without.
> >
> > Try with -nw, and you will see more.  is that also "normal usage"?
> 
> It was pretty much the same list, and yes.
> 
> > In Emacs 28 we added several files to AOT for that reason, but AFAIR
> > they were removed on master.
> 
> It's obviously a matter of taste -- we don't want to add libraries
> needlessly, but there's some (non-pre-loaded) libraries (I'd guesstimate
> about a dozen) that virtually all users will end up loading, so AOT-ing
> them makes sense to me.

So maybe we should reinstate the ones we pre-compiled in Emacs 28.
FTR, those were:

 autoload
 byte-opt
 bytecomp
 cconv
 charscript
 cl-extra
 cl-lib
 cl-macs
 cl-seq
 comp
 comp-cstr
 emoji-zwj
 gv
 help-mode
 rx
 seq
 subr-x
 warnings




This bug report was last modified 2 years and 219 days ago.

Previous Next


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