Make starting table_length 16384 (down from 1048576)
This commit is contained in:
parent
7a7c7ffeaa
commit
b0ec92798a
|
@ -67,7 +67,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 = 1048576;
|
||||
a->table_length = 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