mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
⚡ Improve database loading performance https://github.com/siyuan-note/siyuan/issues/15115
This commit is contained in:
parent
2e2f152311
commit
17369d28c9
3 changed files with 47 additions and 11 deletions
|
|
@ -41,6 +41,10 @@ import (
|
|||
|
||||
func LoadTrees(ids []string) (ret map[string]*parse.Tree) {
|
||||
ret = map[string]*parse.Tree{}
|
||||
if 1 > len(ids) {
|
||||
return ret
|
||||
}
|
||||
|
||||
bts := treenode.GetBlockTrees(ids)
|
||||
luteEngine := util.NewLute()
|
||||
var boxIDs []string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue