change hashmap size
This commit is contained in:
parent
dc21aec45d
commit
7363feb612
@ -928,7 +928,7 @@ static void initglobals(void)
|
|||||||
litq=NULL; /* the literal queue */
|
litq=NULL; /* the literal queue */
|
||||||
glbtab.next=NULL; /* clear global variables/constants table */
|
glbtab.next=NULL; /* clear global variables/constants table */
|
||||||
loctab.next=NULL; /* " local " / " " */
|
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 */
|
tagname_tab.next=NULL;/* tagname table */
|
||||||
libname_tab.next=NULL;/* library table (#pragma library "..." syntax) */
|
libname_tab.next=NULL;/* library table (#pragma library "..." syntax) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user