Use 32-bit offsets in the string pool search tree to reduce its size

This commit is contained in:
Eric Fischer
2017-09-06 15:26:19 -07:00
parent 0f8b32c69f
commit 764a8ac17c
5 changed files with 20 additions and 6 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
#define POOL_HPP
struct stringpool {
long long left;
long long right;
long long off;
unsigned long left;
unsigned long right;
unsigned long off;
};
long long addpool(struct memfile *poolfile, struct memfile *treefile, const char *s, char type);