mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Perf: minor improvements
This commit is contained in:
@@ -110,7 +110,6 @@ export const buildRejectDomainSet = task(import.meta.path, async (span) => {
|
||||
const trie = createTrie(domainSets);
|
||||
|
||||
domainSuffixSet.forEach(suffix => {
|
||||
domainSets.delete(suffix);
|
||||
trie.substractSetInPlaceFromFound(suffix, domainSets);
|
||||
});
|
||||
filterRuleWhitelistDomainSets.forEach(suffix => {
|
||||
|
||||
Reference in New Issue
Block a user