--- src/util/hash_table.c | 2 +- src/util/set.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/hash_table.c b/src/util/hash_table.c index a93326ec27..e1255a2484 100644 --- a/src/util/hash_table.c +++ b/src/util/hash_table.c @@ -83,7 +83,7 @@ _mesa_hash_table_create(void *mem_ctx, if (ht == NULL) return NULL; - ht->size_iteration = 2; + ht->size_iteration = 3; ht->size = 1 << ht->size_iteration; ht->max_entries = ht->size * 0.9; ht->key_hash_function = key_hash_function; diff --git a/src/util/set.c b/src/util/set.c index 110f182244..31014984dc 100644 --- a/src/util/set.c +++ b/src/util/set.c @@ -83,7 +83,7 @@ _mesa_set_create(void *mem_ctx, if (ht == NULL) return NULL; - ht->size_iteration = 2; + ht->size_iteration = 3; ht->size = 1 << ht->size_iteration; ht->max_entries = ht->size * 0.9; ht->key_hash_function = key_hash_function; -- 2.11.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev