[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 94b3c7b9d28 1/2: * etc/TODO (Native compiler improvements): Add s
From: |
Andrea Corallo |
Subject: |
master 94b3c7b9d28 1/2: * etc/TODO (Native compiler improvements): Add section. |
Date: |
Mon, 20 Nov 2023 04:30:21 -0500 (EST) |
branch: master
commit 94b3c7b9d28f0bf7808919fd316494e2d048acf3
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>
* 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