Prime starting length seems to do no harm

This commit is contained in:
Tony Garnock-Jones 2015-06-30 00:08:25 -04:00
parent f0b1d691ea
commit 316fd0adda
1 changed files with 1 additions and 1 deletions

View File

@ -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]));