Changeset: 31beb4bd4c46 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/31beb4bd4c46 Modified Files: sql/storage/store.c Branch: Jul2021 Log Message:
Reduce number of initial buckets on dependency hashes diffs (14 lines): diff --git a/sql/storage/store.c b/sql/storage/store.c --- a/sql/storage/store.c +++ b/sql/storage/store.c @@ -1757,8 +1757,8 @@ store_load(sqlstore *store, sql_allocato /* for now use malloc and free */ store->active = list_create(NULL); - store->dependencies = hash_new(NULL, 1024, (fkeyvalue)&dep_hash); - store->depchanges = hash_new(NULL, 1024, (fkeyvalue)&dep_hash); + store->dependencies = hash_new(NULL, 32, (fkeyvalue)&dep_hash); + store->depchanges = hash_new(NULL, 32, (fkeyvalue)&dep_hash); if (store->first) { /* cannot initialize database in readonly mode */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list