53 Commits

Author SHA1 Message Date
SukkaW
8851d7fb38 Perf: faster FIFO impl 2024-12-14 00:27:04 +08:00
SukkaW
80ac403944 Replace more utilities w/ foxts 2024-12-12 20:58:40 +08:00
SukkaW
d726dcb64c Replace built-in utility with foxts 2024-12-11 17:13:08 +08:00
SukkaW
c6f3a67711 Perf: repalce String#localeCompare w/ simple ASCII-only compare 2024-11-21 21:51:05 +08:00
SukkaW
a42d28195d Perf: domainset class w/o build domain map 2024-10-27 03:50:07 +08:00
SukkaW
2bbc122b85 Replace sortDomains w/ trie dump sort 2024-10-15 18:36:23 +08:00
SukkaW
f6eb8b0a4c Feat: trie dump with sort & FIFO 2024-10-15 18:18:01 +08:00
SukkaW
b742701f59 Simplify Trie 2024-10-15 17:08:38 +08:00
SukkaW
80ab4e69c1 Chore: trie dump meta supports callback 2024-10-12 13:33:42 +08:00
SukkaW
e40979e50e Chore: make ESLint Happy 2024-10-10 21:40:56 +08:00
SukkaW
274c2453e2 Perf: slightly improve trie.whitelist performance 2024-10-02 23:41:51 +08:00
SukkaW
a7e7c19a51 Rrefactor: rewrite trie in class 2024-10-02 22:01:38 +08:00
SukkaW
14bcc10ce7 Chore: Housekeeping & Make ESLint Happy 2024-09-29 11:01:16 +08:00
SukkaW
428f30574c Perf: micro optmize trie 2024-09-23 17:14:10 +08:00
SukkaW
a8c53617b1 Refactor: prefer smol trie 2024-09-23 16:57:01 +08:00
SukkaW
5c8636d7b3 Minor changes here and there 2024-09-20 16:10:19 +08:00
SukkaW
3bd0ebe36e Perf: a few improvements to trie 2024-09-18 22:42:48 +08:00
SukkaW
f58c10e34c Fix: trie meta 2024-09-09 23:02:57 +08:00
SukkaW
90079b9987 Chore: dedupe and sort other rulesets 2024-09-08 02:02:51 +08:00
SukkaW
8bcfc0e528 Perf: refactor trie to avoid iterate twice 2024-09-07 00:16:56 +08:00
SukkaW
8a0690fe9e Housekeeping & Make ESLint Happy 2024-08-26 08:24:39 +08:00
SukkaW
7f6e631847 Chore: minor infra changes
1
2024-08-02 18:29:18 +08:00
SukkaW
bb65a4180c Refactor: drop all Bun compatability 2024-07-24 10:59:05 +08:00
SukkaW
1f42c27afe Refactor: drop Bun.inspect and Bun.version 2024-07-23 16:34:05 +08:00
SukkaW
175ba65127 Fix: correct trie tokenizer behavior 2024-06-30 00:30:46 +08:00
SukkaW
a0c8751cb2 Perf: make trie.add faster 2024-06-29 12:53:55 +08:00
SukkaW
6031d9652e Perf: reduce if in trie.add 2024-06-28 18:17:12 +08:00
SukkaW
fa85fff3c3 Perf: change trie object shape 2024-06-28 17:41:58 +08:00
SukkaW
1d8c991baf Perf: faster string[] join 2024-06-28 17:25:54 +08:00
SukkaW
724dcdf1ad Refactor: change trie object shape 2024-06-28 15:59:20 +08:00
SukkaW
9ac94b1411 Perf: faster trie by reducing new object creation 2024-06-18 20:01:21 +08:00
SukkaW
8c23e7919a Perf: avoid extra Map#get in trie.add loop 2024-06-09 22:09:17 +08:00
SukkaW
479032d2ba Perf: improve trie add 2024-06-09 01:04:50 +08:00
SukkaW
7167be852f Remove unused Bun.peek 2024-06-03 11:56:11 +08:00
SukkaW
c2b4af882d Refactor: re-use code in trie / simplify 2024-05-27 08:11:22 +08:00
SukkaW
f04dd0e783 Perf: faster smolTree whitelist by reducing if in loop 2024-05-27 04:35:02 +08:00
SukkaW
70f837ba15 Perf: faster smolTree trie creation by avoiding if in loop 2024-05-27 04:02:44 +08:00
SukkaW
efa34399b0 Chore: minor changes 2024-05-27 03:13:59 +08:00
SukkaW
2f329a4144 Fix/Perf: more efficient and correct whitelisting 2024-05-27 01:11:22 +08:00
SukkaW
5b725192e3 Perf: re-use trie when building reject domainsets 2024-05-26 01:20:45 +08:00
SukkaW
48b5f609dd Feat: trie now supports whitelist method 2024-05-26 00:53:23 +08:00
SukkaW
35aa11f361 Perf: remove cached tld parse 2024-05-12 00:50:50 +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
7b2334ee3b Minor changes here and there 2024-02-06 15:49:51 +08:00
SukkaW
aca48afb6d Update CDN & Reject Hosts 2024-02-06 14:25:03 +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
eaf993deca Perf: minor optimization here and there 2024-01-14 22:58:53 +08:00
SukkaW
a7c1b0fd17 Refactor: further improve trie implementation 2023-12-30 19:12:11 +08:00