emacs-devel
[Top][All Lists]
Advanced

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

Re: [feature/native-comp] breakage on build


From: Andrea Corallo
Subject: Re: [feature/native-comp] breakage on build
Date: Wed, 10 Feb 2021 14:23:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Compiling a trampoline is about 0.2s each (mostly GCC gas ld startup
>> time).  Say we have ~1400 primitives this should translate into ~4.5 min
>> of build time for something that in the average case is largely unused.
>
> But do we really need 1400 different trampolines?
>
> Can't these all just be copies of a small number of "base" trampolines
> (presumably one needs a different trampoline for every number of
> arguments, but that's about it, right)?

Yes I think they could, the perf penalty should be negligible compared
to the use of an advised primitive.

The question is if is it so important to support this configuration (eln
but no libgccjit) that indeed is achievable only on Windows.

  Andrea



reply via email to

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