improve performance massively from 0.9 seconds to 0.38 seconds :)

This commit is contained in:
William Bell
2025-09-01 20:25:47 +01:00
parent 4f91bf48f3
commit 19268f3070
24 changed files with 479 additions and 369 deletions

View File

@@ -49,6 +49,9 @@ typedef struct {
struct string_struct {
char *data;
uint64_t prehash;
uint64_t hash;
bool hash_computed;
size_t length;
};