⚡ 改进打开虚拟引用后加载文档的性能 https://github.com/siyuan-note/siyuan/issues/7378
This commit is contained in:
parent
b75a46a228
commit
52faf594eb
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ import (
|
|||
// virtualBlockRefCache 用于保存块关联的虚拟引用关键字。
|
||||
// 改进打开虚拟引用后加载文档的性能 https://github.com/siyuan-note/siyuan/issues/7378
|
||||
var virtualBlockRefCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 1024000,
|
||||
MaxCost: 102400,
|
||||
NumCounters: 102400,
|
||||
MaxCost: 10240,
|
||||
BufferItems: 64,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue