bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#67005: 30.0.50; improve nadivce/comp/trampoline handling


From: Andrea Corallo
Subject: bug#67005: 30.0.50; improve nadivce/comp/trampoline handling
Date: Fri, 17 Nov 2023 15:37:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

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

>> "function" is the function we are redefining and we want to trigger the
>> trampoline thing only when that's a C primitive.  Those two conditions
>> are equivalent to 'subr-primitive-p'.
>
> Oh, right, because we don't implement that same optimization calls to
> native-compiled functions, right?

That is correct

> Shouldn't we implement that optimization for calls to
> native-compiled functions, tho?  At least for the case where that
> function is defined in the same file as the call?

We could, we'd need a "link table" for each file.  Note that this would
make the backtrace even more sparse :)

We should add those good ideas into some TODO list to keep track of
them.

  Andrea





reply via email to

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