CIDR只保留构建树所需的前缀位,减少最终文件体积约100k;树底层使用map替代object提高大约7倍查询效率(实际单次查询差距绝对值在0.002ms以下,无意义的优化)

This commit is contained in:
zhiyi
2024-12-04 17:02:21 +08:00
parent 509f516d1d
commit 74e6d0aa47
5 changed files with 60 additions and 86 deletions

View File

@@ -11,6 +11,7 @@ on:
- 'direct-domains.txt'
- 'proxy-domains.txt'
- 'cidrs-cn.txt'
- '!gfw.pac'
workflow_dispatch:
jobs: