mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
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:
parent
629fe05083
commit
44d5481828
2 changed files with 3 additions and 2 deletions
1
main.c
1
main.c
|
@ -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")) {
|
||||
|
||||
|
|
4
parser.c
4
parser.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue