Closed qiangwang closed 1 year ago
增加快速构建配置:enableFastBuild,打开后构建时nextCheckPos会加1,产生更多空闲空间以降低构建耗时。
Fixes https://github.com/hankcs/HanLP/issues/1801
Please check any relevant options and delete the rest.
详见单测DoubleArrayTrieTest.testEnableFastBuild和AhoCorasickDoubleArrayTrieTest.testEnableFastBuild
Check all items that apply.
dev
master
感谢贡献!
增加快速构建配置
Description
增加快速构建配置:enableFastBuild,打开后构建时nextCheckPos会加1,产生更多空闲空间以降低构建耗时。
Fixes https://github.com/hankcs/HanLP/issues/1801
Type of Change
Please check any relevant options and delete the rest.
How Has This Been Tested?
详见单测DoubleArrayTrieTest.testEnableFastBuild和AhoCorasickDoubleArrayTrieTest.testEnableFastBuild
Checklist
Check all items that apply.
dev
branch instead ofmaster