mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: minor optimization here and there
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user