summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-02-07 19:11:47 (EST)
committer P. J. McDermott <pj@pehjota.net>2017-02-07 19:11:47 (EST)
commitaca8d9935b280fb51a2bc2332be63c56301c5dbd (patch)
treef7ce351d7ed3b4b4a64ce548eb454d7bd0aa5f04
parent8d61389effe0b59489f47e813ab7e3f8c23d495f (diff)
downloadeggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.zip
eggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.tar.gz
eggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.tar.bz2
TODO: Describe ctxsw optimization
-rw-r--r--TODO9
1 files changed, 9 insertions, 0 deletions
diff --git a/TODO b/TODO
index e60e7e5..a6e79b5 100644
--- a/TODO
+++ b/TODO
@@ -7,3 +7,12 @@
Example: array `arr_` and index `ind`: stored as `__arr_arr___x__ind`
Example: array `arr` and index `_ind`: stored as `__arr_arr__x___ind`
Example: array `arr_` and index `_ind`: stored as `__arr_arr___x___ind`
+ * Consider ctxsw optimization:
+ - In backend, prefix parameter names (in assignments and expansions) with TU
+ and function
+ - In eshrt, remove variable updating code
+ - Caveat: breaks variable parameter names in eval
+ - If arrays are implemented, would anyone still need variable parameter
+ names?
+ - Maybe add -fno-mangle-vars option to eshtrans to disable prefixing and
+ insert a flag in generated code to enable eshrt to update variables