fix: dont copy unset map nodes

This commit is contained in:
2023-12-08 04:24:47 +01:00
parent b203c93f47
commit a76c093c9f
3 changed files with 13 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ int main() {
for(int i = 0; i < 10000; i++) {
map_put(map, i, i + 1);
}
for(int i = 1; i < 10000; i++) {
for(int i = 0; i < 10000; i++) {
assert(map_get(map, i) == i + 1);
}