[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Wed, 6 Mar 2024 17:07:56 -0500 (EST) |
branch: master
commit b4988a1ca70febdd3d762b24ab2ee2093193fdfe
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Mar 6 14:16:10 2024 +0100
Update tp/TODO
---
tp/TODO | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/tp/TODO b/tp/TODO
index 0946822000..cd6f8c3c8c 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -78,8 +78,16 @@ Gavin and Patrice
2) Represent the info ASSOCIATED_INFO hash information completly differently as
there are only a few possibilities and they are only relevant for some
- specific commands/types.
- For instance a union of an ELEMENT pointer and a string?
+ commands/types.
+
+ One possibility. It requires some testing as it should allow for
+ faster code, but it is not clear that memory use would be smaller.
+char *alias_of
+char *string_info (for arg_line or command_name or delimiter)
+ELEMENT *elements[3]
+ spaces_after_cmd_before_arg (brace comands) or comment_at_end (line/block
commands)
+ spaces_before_argument
+ spaces_after_argument
3) make building "source marks" optional.
With 8 byte pointers and integers, the 24 byte section of ELEMENT relating