create with a small hashvector size
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 5 Jul 2022 23:59:05 +0000 (09:59 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 5 Jul 2022 23:59:05 +0000 (09:59 +1000)
vector/hashvector.c

index c26125376e9d811abc67e80e02f0f6cad572dcb5..c9c2fb3ea7e360da75553ec3efb156010eefd100 100644 (file)
@@ -181,7 +181,7 @@ hashvector *hashvector_create(int variant,itemkeyfun *type) {
     (*hv) = (hashvector) {
        .table = (vector) {
            .variant = variant,
-           .size = 0,
+           .size = 16,
            .entries = 0
        },
        .fill = 0,