aboutsummaryrefslogtreecommitdiff
path: root/symtable.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-08-28 22:55:41 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-08-28 22:55:41 +0100
commitcc56a2ee2b5703f9ea5ac63a86870af188845c30 (patch)
tree2660c03c1c90ad069d44e29af4365bca572926aa /symtable.c
parent66c64007317cf5b646c1f816463f4bc730e3b99f (diff)
downloadalisp-cc56a2ee2b5703f9ea5ac63a86870af188845c30.tar.gz
alisp-cc56a2ee2b5703f9ea5ac63a86870af188845c30.tar.bz2
alisp-cc56a2ee2b5703f9ea5ac63a86870af188845c30.zip
Still got some failures, but a basic stream implementation
Need to fix what's going on with the example in main.c using stdin.
Diffstat (limited to 'symtable.c')
-rw-r--r--symtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symtable.c b/symtable.c
index 15c6cd0..39139eb 100644
--- a/symtable.c
+++ b/symtable.c
@@ -38,7 +38,7 @@ char *sym_table_find(sym_table_t *table, sv_t sv)
if (table->entries.capacity == 0)
sym_table_init(table);
- // WIP: Deal with resizing this when table->count > table->size / 2
+ // TODO: Deal with resizing this when table->count > table->size / 2
u64 index = djb2(sv) & (table->capacity - 1);
for (sv_t comp = VEC_GET(&table->entries, sv_t)[index]; comp.data; index += 1,