From 44d5481828774c304b9cc926e4c05af745f5bca4 Mon Sep 17 00:00:00 2001
From: Dale Weiler <killfieldengine@gmail.com>
Date: Fri, 26 Jul 2013 14:50:37 +0000
Subject: [PATCH] There was too many 16-sized buckets when compiling xonotic,
 increase the size: this is cheaper on memory and slightly faster.

---
 main.c   | 1 +
 parser.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index feb8aa3..6029d6d 100644
--- a/main.c
+++ b/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")) {
 
diff --git a/parser.c b/parser.c
index c9f093f..159c7c9 100644
--- a/parser.c
+++ b/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;
-- 
2.39.5