eliminate old locals view path; dont constantly mutate root expressions, simply query locals & build blocks

This commit is contained in:
Ryan Fleury
2024-01-31 10:48:49 -08:00
parent 14db7dbab4
commit 4e9cf2ef89
4 changed files with 60 additions and 141 deletions
+4 -1
View File
@@ -10,7 +10,8 @@
typedef struct EVAL_String2NumMapNode EVAL_String2NumMapNode;
struct EVAL_String2NumMapNode
{
EVAL_String2NumMapNode *next;
EVAL_String2NumMapNode *order_next;
EVAL_String2NumMapNode *hash_next;
String8 string;
U64 num;
};
@@ -27,6 +28,8 @@ struct EVAL_String2NumMap
{
U64 slots_count;
EVAL_String2NumMapSlot *slots;
EVAL_String2NumMapNode *first;
EVAL_String2NumMapNode *last;
};
////////////////////////////////