Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a kernel API /api/block/getDocsInfo #12723

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

Misuzu2027
Copy link
Contributor

添加内核API /api/block/getDocsInfo 用于批量获取文档信息。

修改 kernel/filesys/tree.go 中的 LoadTrees 方法,改用多线程从磁盘获取文档树;测试 100 条以上id,最好情况速度提升50%,最坏情况跟之前时间差不多。

@88250
Copy link
Member

88250 commented Oct 7, 2024

麻烦以后 PR 修改的话不要创建新 PR,关联 #12719

@88250 88250 added this to the 3.1.9 milestone Oct 7, 2024
@88250 88250 merged commit 7afea33 into siyuan-note:dev Oct 7, 2024
1 check passed
@88250
Copy link
Member

88250 commented Oct 7, 2024

感谢你的贡献,思源有你更精彩!
Thank you for your contribution. SiYuan will be more wonderful with you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants