Skip to content

Commit accc232

Browse files
committed
permissions: Adjust the bucket grow factor to match the hash algo
1 parent cf12173 commit accc232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/permissions/hash_table.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define PERM_HASH_TABLE_H
33

44
#define BUCKET_MAX_LOAD_FACTOR 1.0f
5-
#define BUCKET_GROW_FACTOR 1.5f
5+
#define BUCKET_GROW_FACTOR 2.0f
66

77
typedef struct pht_node_t pht_node_t;
88
typedef struct pht_hash_table_t pht_hash_table_t;

0 commit comments

Comments
 (0)