From b0b7db518ccd9a5c08a8fce74deed988eeae9ded Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 30 Jun 2015 23:28:09 -0400 Subject: [PATCH] Set initial table_length back to a sane starting value --- treetrie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treetrie.c b/treetrie.c index 29a5db6..3d83367 100644 --- a/treetrie.c +++ b/treetrie.c @@ -104,7 +104,7 @@ int tt_arena_init(tt_arena_t *a, a->atom_incref = atom_incref; a->atom_decref = atom_decref; a->max_probe = 0; - a->table_length = 16; //16411; /* 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]));