20 Commits

Author SHA1 Message Date
SukkaW
fe06774a19 Perf: minor improvements here and there 2025-01-24 11:46:46 +08:00
SukkaW
9c82e5346c Perf: avoid mutate string in ruleset base 2024-12-14 21:14:29 +08:00
SukkaW
e53e6b9375 Test: fix trie test case 2024-12-14 20:14:46 +08:00
SukkaW
5aee1b6870 Housekeeping 2024-10-17 16:33:11 +08:00
SukkaW
b742701f59 Simplify Trie 2024-10-15 17:08:38 +08:00
SukkaW
a7e7c19a51 Rrefactor: rewrite trie in class 2024-10-02 22:01:38 +08:00
SukkaW
d1041f0e59 Update Tests & Make TypeScript happy 2024-10-02 21:33:59 +08:00
SukkaW
8bcfc0e528 Perf: refactor trie to avoid iterate twice 2024-09-07 00:16:56 +08:00
SukkaW
a7a05e9901 Test: drop bun:test, replace w/ mocha and chai 2024-07-25 10:34:03 +08:00
SukkaW
eb0623c1a9 Enable trie hostname mode & extend hostname mode test cases 2024-05-27 02:24:20 +08:00
SukkaW
d137bdb8a3 Fix: properly whitelisting domains 2024-05-27 01:49:56 +08:00
SukkaW
2f329a4144 Fix/Perf: more efficient and correct whitelisting 2024-05-27 01:11:22 +08:00
SukkaW
48b5f609dd Feat: trie now supports whitelist method 2024-05-26 00:53:23 +08:00
SukkaW
160e7bfab7 Perf: domain deduper using only trie + DFS 2024-05-12 00:20:30 +08:00
SukkaW
59b86f706f Perf/Refactor: trie w/ hostname mode 2024-05-10 23:49:50 +08:00
SukkaW
f9a0445cbf Chore: housekeeping 2024-04-16 11:06:00 +08:00
SukkaW
c95e96fc61 Chore: refine reject domainset building 2024-01-28 22:28:58 +08:00
SukkaW
11e687cd56 Perf: re-implement trie using Map 2024-01-21 23:25:52 +08:00
SukkaW
d4ff4c5b2d Make ESLint Happy 2023-12-03 02:04:09 +08:00
SukkaW
6962c47782 Chore: rewrite trie and sorter test in bun:test 2023-11-30 10:53:16 +08:00