[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50934: 28.0.60; paren.el should be preloaded
From: |
Eli Zaretskii |
Subject: |
bug#50934: 28.0.60; paren.el should be preloaded |
Date: |
Fri, 01 Oct 2021 16:17:00 +0300 |
> From: Andrea Corallo <akrl@sdf.org>
> Cc: 50934@debbugs.gnu.org
> Date: Fri, 01 Oct 2021 13:11:33 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Date: Fri, 01 Oct 2021 13:49:31 +0300
> >> From: Eli Zaretskii <eliz@gnu.org>
> >>
> >> Since show-paren-mode is now ON by default, whenever Emacs starts it
> >> now loads paren.elc? during startup. So I think we should now preload
> >> paren.el.
> >
> > One consequence of paren.el's not being preloaded is that in a
> > native-compilation build, Emacs begins compiling paren.el as soon as
> > it starts, and that causes it also to compile about a dozen other
> > files that comp.el requires. Should we perhaps native-compile all the
> > prerequisites of comp.el as part of COMPILE_FIRST when we build Emacs?
>
> I think we should keep an eye on the build time impact of this. If I'm
> not mistaken native compiling COMPILE_FIRST targets is slower than
> afterward cause comp.el and friends are running interpreted.
The native-compilation build is already painfully slow, and most of it
isn't spent in COMPILE_FIRST. We could, of course, add those files to
shortlisp instead, if you think this is better.