An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:zap: 使用 AC 算法优化虚拟引用匹配性能
Liang Dingaf2be5a532cc
diff --git a/kernel/model/virutalref.go b/kernel/model/virutalref.goindex 71b0eeec92..f16defad25 100644--- a/kernel/model/virutalref.go+++ b/kernel/model/virutalref.go@@ -27,7 +27,7 @@ import ("github.com/88250/lute""github.com/88250/lute/ast""github.com/88250/lute/parse"- ahocorasick "github.com/ClarkThan/ahocorasick"+ "github.com/ClarkThan/ahocorasick""github.com/dgraph-io/ristretto""github.com/siyuan-note/siyuan/kernel/search""github.com/siyuan-note/siyuan/kernel/sql"