默认分包方案使用的 Google 的 Unicode Range 吗? #155
Answered
by
KonghaYao
thatsgolden
asked this question in
Q&A
-
|
如题 |
Beta Was this translation helpful? Give feedback.
Answered by
KonghaYao
Feb 22, 2025
Replies: 4 comments 3 replies
-
|
不是,cn-font-split 在分包算法上有更为宽泛的管理,对多个语言分区及词汇顺序进行了整理,其与 Google 的方案是差不多的。 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
thatsgolden
-
感谢您的反馈,7.0+ 版本的构建算法出现了问题,导致常用字和生僻字全混在一个包内,导致了这个问题,估计需要后续检查一下分包算法的实现 @thatsgolden
|
Beta Was this translation helpful? Give feedback.
0 replies
-
内核版本 7.3.1 进行了临时修复,将大小拉回 700KB左右。稍后对细节做一个调整,优化分包算法。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
内核版本 7.3.3 对整个字符的顺序进行了优化,控制 20*1024 的 chunk_size 可以压缩到 400 KB 以内,但是总体效果仍然与 Google 的方案有较大差距
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





不是,cn-font-split 在分包算法上有更为宽泛的管理,对多个语言分区及词汇顺序进行了整理,其与 Google 的方案是差不多的。
如果你想要实现自己的分包方案,也仅仅需要输入一个 subsets 配置即可实现。