Perf: minor optimization here and there

This commit is contained in:
SukkaW
2024-01-11 11:56:15 +08:00
parent d06fa6975d
commit e8f3519479
11 changed files with 80 additions and 60 deletions

View File

@@ -73,9 +73,7 @@ const createKeywordFilter = (keys: string[] | Set<string>) => {
}
};
keys.forEach(k => {
put(k, k.length);
});
keys.forEach(k => put(k, k.length));
build();