From 3f85d1168a9cfa10e7592ebf8870cc658ea70879 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 16 Oct 2025 17:29:07 +0300 Subject: reimplement maps to use new spvecs + Performance is roughly the same as before, but memory usage is now *way* down, and shouldn't explode out of control if a bas hash is used. --- tests/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/map.c') diff --git a/tests/map.c b/tests/map.c index 505be58..f9f919b 100644 --- a/tests/map.c +++ b/tests/map.c @@ -67,7 +67,7 @@ int main() size_t count = 0; foreach(ints, iter, &ints) { - assert(iter->key == iter->data); + assert(iter.t->key == iter.t->data); count++; } -- cgit v1.2.3