From: Andrea Corallo Date: Mon, 20 Nov 2023 09:09:31 +0000 (+0100) Subject: * etc/TODO (Native compiler improvements): Add section. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94b3c7b9d28f0bf7808919fd316494e2d048acf3;p=emacs.git * etc/TODO (Native compiler improvements): Add section. --- diff --git a/etc/TODO b/etc/TODO index 2292f100ac4..58af22405ff 100644 --- a/etc/TODO +++ b/etc/TODO @@ -888,6 +888,19 @@ It would make it easy to add (and remove) mappings like * Things to be done for specific packages or features +** Native compiler improvements + +*** Performance + +**** Intra compilation unit call optimization + +We could have a mechanism similar to what we use for optimizing calls +to primitive functions. IE using a link table for each compilation +unit (CU) such that calls from functions in a CU targeting functions +in the same CU don't have to go through funcall. If one of these +functions is redefined a trampoline is compiled and installed to +restore the redirection through funcall. + ** NeXTstep port *** Missing features