> From: Joel Reicher <[email protected]>
> Cc: [email protected]
> Date: Fri, 12 Jul 2024 21:10:51 +1000
>
> I'm not suggesting this is anything other than a (very) temporary
> workaround, and I was already aware of this variable from the
> documentation, but it wasn't clear to me the conditions under
> which Emacs would try to generate a trampoline.
>
> It was interesting to see it happen.
The ELisp manual says about this:
-- Variable: native-comp-enable-subr-trampolines
This variable controls generation of trampolines. A trampoline is
a small piece of native code required to allow calling Lisp
primitives, which were advised or redefined, from Lisp code that
was natively-compiled with ‘native-comp-speed’ set to 2 or greater.
Emacs stores the generated trampolines on separate ‘*.eln’ files.