about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-19 23:23:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-19 23:23:49 -0700
commit119e661f20c0b4d9d82cad3cd26b42a947a68521 (patch)
tree2faa7f20b430d2bb79ee2c42c31dafebeae5c560 /shell
parent4b57c101b71727aa718216b90f7a255bab2427c6 (diff)
downloadmu-119e661f20c0b4d9d82cad3cd26b42a947a68521.tar.gz
a second place with lousy storage management
Diffstat (limited to 'shell')
-rw-r--r--shell/tokenize.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/tokenize.mu b/shell/tokenize.mu
index 03c04910..b280a049 100644
--- a/shell/tokenize.mu
+++ b/shell/tokenize.mu
@@ -15,6 +15,7 @@ fn tokenize in: (addr gap-buffer), out: (addr stream cell), trace: (addr trace)
     break-if-!=
     # initialize token data each iteration to avoid aliasing
     var dest-ah/eax: (addr handle stream byte) <- get token, text-data
+    # TODO: obscenely pessimally sized
     # I'm allocating 1KB for every. single. token. Just because a whole definition needs to fit in a string sometimes. Absolutely bonkers.
     populate-stream dest-ah, 0x400/max-definition-size
     #