From 316fd0addafe31c8f77aeca5e41396e9aea9673c Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 30 Jun 2015 00:08:25 -0400 Subject: [PATCH] Prime starting length seems to do no harm --- treetrie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treetrie.c b/treetrie.c index 22852e4..61298fe 100644 --- a/treetrie.c +++ b/treetrie.c @@ -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]));