From 9efca3a7b42f95e1168a5103ecbf8b66a39ece79 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 16 Oct 2017 21:23:15 +0200 Subject: [PATCH] increase hashmap size --- source/compiler/sc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 592fba8..dfb647f 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -928,7 +928,7 @@ static void initglobals(void) litq=NULL; /* the literal queue */ glbtab.next=NULL; /* clear global variables/constants table */ loctab.next=NULL; /* " local " / " " */ - hashmap_init(&symbol_cache_map, hashmap_hash_string, hashmap_compare_string, 100000); // TODO: make sure this is big enough + hashmap_init(&symbol_cache_map, hashmap_hash_string, hashmap_compare_string, 10000000); // TODO: make sure this is big enough tagname_tab.next=NULL;/* tagname table */ libname_tab.next=NULL;/* library table (#pragma library "..." syntax) */