From 94b3c7b9d28f0bf7808919fd316494e2d048acf3 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 20 Nov 2023 10:09:31 +0100 Subject: [PATCH] * etc/TODO (Native compiler improvements): Add section. --- etc/TODO | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.39.5