diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-16 17:29:07 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-16 17:29:07 +0300 |
| commit | 3f85d1168a9cfa10e7592ebf8870cc658ea70879 (patch) | |
| tree | b8e3518106b479816a3127f5e769d0fd7be20f7f /tests/map.c | |
| parent | a2944822ba192e6bc00fdc591284ce194847c731 (diff) | |
| download | conts-3f85d1168a9cfa10e7592ebf8870cc658ea70879.tar.gz conts-3f85d1168a9cfa10e7592ebf8870cc658ea70879.zip | |
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.
Diffstat (limited to 'tests/map.c')
| -rw-r--r-- | tests/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; } |
