Prime starting length seems to do no harm
This commit is contained in:
parent
f0b1d691ea
commit
316fd0adda
|
@ -100,7 +100,7 @@ static tt_node_idx_t chain_pop(tt_arena_t *a, tt_free_chain_t *chain) {
|
|||
|
||||
int tt_arena_init(tt_arena_t *a) {
|
||||
a->max_probe = 0;
|
||||
a->table_length = 16384;
|
||||
a->table_length = 16411; /* 16384; */
|
||||
a->table = calloc(a->table_length, sizeof(a->table[0]));
|
||||
a->headers = calloc(a->table_length, sizeof(a->headers[0]));
|
||||
a->nodes = calloc(a->table_length, sizeof(a->nodes[0]));
|
||||
|
|
Loading…
Reference in New Issue