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

(perf) 使用免递归方式创建树形结构列表,优化响应速度 #44

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

Andecheal
Copy link
Contributor

原通过递归方式进行树形结构列表的构造,在数据量增加后,响应时间会明显增加
以下为6000+文章场景下的测试结果
before:
8b8a73a8-6720-4f2b-8f92-347e88f9a56c

after:
img_v3_0269_01a399fe-4afa-43fd-8964-fc875dc3f66g

@xiaozzzi xiaozzzi merged commit 4bfdca0 into blossom-editor:dev Dec 19, 2023
@Andecheal Andecheal deleted the treelist-perfoptimization branch December 19, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants