This commit is contained in:
cozis
2021-11-06 14:00:41 +01:00
parent f9f577caef
commit 68f4178980
7 changed files with 65 additions and 58 deletions
-4
View File
@@ -116,8 +116,6 @@ static Object *select(Object *self, Object *key, Heap *heap, Error *error)
// Not the one we wanted.
}
int old_i = i;
pert >>= 5;
i = (i * 5 + pert + 1) & mask;
}
@@ -249,8 +247,6 @@ static _Bool insert(Object *self, Object *key, Object *val, Heap *heap, Error *e
// Collision.
}
int old_i = i;
pert >>= 5;
i = (i * 5 + pert + 1) & mask;
}