There was too many 16-sized buckets when compiling xonotic, increase the size: this is cheaper on memory and slightly faster.

This commit is contained in:
Dale Weiler 2013-07-26 14:50:37 +00:00
parent 629fe05083
commit 44d5481828
2 changed files with 3 additions and 2 deletions

1
main.c
View file

@ -198,6 +198,7 @@ static bool options_parse(int argc, char **argv) {
opts_set(opts.warn, WARN_BREAKDEF, true);
OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_FTEQCC;
OPTS_OPTION_BOOL(OPTION_STATISTICS) = true;
} else if (!strcmp(argarg, "qccx")) {

View file

@ -31,8 +31,8 @@
/* beginning of locals */
#define PARSER_HT_LOCALS 2
#define PARSER_HT_SIZE 128
#define TYPEDEF_HT_SIZE 16
#define PARSER_HT_SIZE 512
#define TYPEDEF_HT_SIZE 512
typedef struct parser_s {
lex_file *lex;