optimizate: session table support overwrite HASH_INITIAL_NUM_BUCKETS
This commit is contained in:
2
deps/uthash/uthash.h
vendored
2
deps/uthash/uthash.h
vendored
@@ -129,7 +129,9 @@ do {
|
||||
#endif
|
||||
|
||||
/* initial number of buckets */
|
||||
#ifndef HASH_INITIAL_NUM_BUCKETS
|
||||
#define HASH_INITIAL_NUM_BUCKETS 32U /* initial number of buckets */
|
||||
#endif
|
||||
#define HASH_INITIAL_NUM_BUCKETS_LOG2 5U /* lg2 of initial number of buckets */
|
||||
#define HASH_BKT_CAPACITY_THRESH 10U /* expand when bucket count reaches */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user