dict: larger dict
diff --git a/dict.c b/dict.c index 792e558..28823d6 100644 --- a/dict.c +++ b/dict.c
@@ -52,9 +52,9 @@ /* * Hash table for fast duplicate lookups. * Uses open addressing with linear probing. - * Size is 16K to keep load factor low for 8K max entries. + * Size is 64K to keep load factor low for large dictionaries. */ -#define DICT_HASH_SIZE 16384 +#define DICT_HASH_SIZE 65536 #define DICT_HASH_MASK (DICT_HASH_SIZE - 1) /* Hash table entries: index into dictionary array, 0 means empty, index+1 stored */