Skip to content

night-moon-studio/DynamicDictionary

Repository files navigation

DynamicDictionary

基于BTFindTree项目的动态缓存构造库

使用方法(User Api):


  • 引入 动态构件库: NMS.DynamicDictionary

  • 初始化 Natasha : NatashaInitializer.InitializeAndPreheating();

var fastDict = dict.HashTree / PrecitionTree / FuzzyTree();
var result = fastDict["a"];
fastDict["a"] = "b";
fastDict["other"] = "b"; //ERROR dict 在生成时未带有 other 键

性能测试

benchmark


捐赠

About

基于BTFindTree项目的动态缓存构造库

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages