mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Perf: refactor trie to avoid iterate twice
This commit is contained in:
@@ -14,7 +14,6 @@ import { SOURCE_DIR } from './constants/dir';
|
||||
const getS3OSSDomainsPromise = (async (): Promise<string[]> => {
|
||||
const trie = createTrie(
|
||||
await getPublicSuffixListTextPromise(),
|
||||
true,
|
||||
false
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user