Adjust hash table sizes.
@@ -265,16 +265,16 @@ YR_API int yr_compiler_create(
new_compiler->atoms_config.quality_warning_threshold = \
YR_ATOM_QUALITY_WARNING_THRESHOLD;
- result = yr_hash_table_create(10007, &new_compiler->rules_table);
+ result = yr_hash_table_create(5000, &new_compiler->rules_table);
if (result == ERROR_SUCCESS)
- result = yr_hash_table_create(10007, &new_compiler->objects_table);
+ result = yr_hash_table_create(5000, &new_compiler->objects_table);
if (result == ERROR_SUCCESS)
- result = yr_hash_table_create(10000, &new_compiler->strings_table);
+ result = yr_hash_table_create(5000, &new_compiler->strings_table);
if (result == ERROR_SUCCESS)
- result = yr_hash_table_create(50000, &new_compiler->sz_table);
+ result = yr_hash_table_create(5000, &new_compiler->sz_table);
if (result == ERROR_SUCCESS)
result = yr_arena_create(
