[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56988: Add call-interactively to "never optimize" list for native co
From: |
Andrea Corallo |
Subject: |
bug#56988: Add call-interactively to "never optimize" list for native compilation |
Date: |
Fri, 05 Aug 2022 10:07:46 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lynn Winebarger <owinebar@gmail.com> writes:
> Version 28.1:
> Since dumping an Emacs with ~500 core libraries in addition to the 100+ from
> loadup (596 NCUs in the dump), I noticed
> huge numbers of async jobs compiling trampolines for call-interactively.
> Adding call-interactively - and
> funcall-interactively for good measure - to the customization variable for
> functions to never optimize, as well as to the
> hard-coded list in advice--add-function, then recompiling and dumping
> resolved the issue.
Hi Lynn,
I think we want to keep on optimizing `call-interactively' as changing
this policy this could have a negative performance impact in certain
scenarios.
Perhaps should be investigated why on the process you are engineering
this is happening, and modify it so that only one trampoline is
compiled.
Best Regards
Andrea