From 7363feb6126270cc413fae434a97076f909a15d8 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Thu, 19 Oct 2017 21:05:50 +0200 Subject: [PATCH] change 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 85cf255..a63de8e 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,10000000); // TODO: make sure this is big enough + hashmap_init(&symbol_cache_map,hashmap_hash_string,hashmap_compare_string,8388608); /* 2^23 */ tagname_tab.next=NULL;/* tagname table */ libname_tab.next=NULL;/* library table (#pragma library "..." syntax) */