Skip to content

编辑器动态加载块数由定值改为可配置 #6415

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

Closed
88250 opened this issue Oct 30, 2022 · 6 comments
Closed

编辑器动态加载块数由定值改为可配置 #6415

88250 opened this issue Oct 30, 2022 · 6 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Oct 30, 2022

之前的定值是 36,改为可配置范围 [48, 1024]

@88250 88250 added this to the 2.4.8 milestone Oct 30, 2022
88250 added a commit that referenced this issue Oct 30, 2022

Unverified

This user has not yet uploaded their public signing key.
Vanessa219 added a commit that referenced this issue Oct 30, 2022
88250 added a commit that referenced this issue Oct 30, 2022

Unverified

This user has not yet uploaded their public signing key.
Vanessa219 added a commit that referenced this issue Oct 30, 2022
88250 added a commit that referenced this issue Oct 30, 2022

Unverified

This user has not yet uploaded their public signing key.
88250 added a commit that referenced this issue Oct 30, 2022

Unverified

This user has not yet uploaded their public signing key.
88250 added a commit that referenced this issue Oct 30, 2022

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 closed this as completed Oct 30, 2022
@Zuoqiu-Yingyi
Copy link
Contributor

最好下限可以设置低一些(感觉 32 或 16 比较好), 因为有些行内元素非常多的文档(比如数学笔记中有大量行内公式), 块数多了后渲染起来很慢

@Zuoqiu-Yingyi
Copy link
Contributor

可以使用该文件测试一下: mo-vic/Calculus: Chapter11.md

@88250
Copy link
Member Author

88250 commented Oct 31, 2022

调整为 [48, 1024] 吧。

88250 added a commit that referenced this issue Oct 31, 2022

Unverified

This user has not yet uploaded their public signing key.
@Zuoqiu-Yingyi
Copy link
Contributor

调整为 [48, 1024] 吧。

1024 / 48 = 21.333333, 不能整除, 难受, 还是 32 顺眼👀

@88250
Copy link
Member Author

88250 commented Oct 31, 2022

这个影响不大,它们之间没有倍数关系。

@Chenm4
Copy link

Chenm4 commented Oct 31, 2022

我也感觉可以调低一点,默认可以为48但是最好可以给一个低一点的选项。其实主要是在意打开文档的瞬间的响应速度的,其他时候的动态加载都还好,我现在如果是把这个数值调高那么会在打开的时候慢很多,是否可以在打开的时候先加载几十个先显示出来画面而非转圈圈,转圈圈给人的感觉总是很糟糕。先显示出来几个然后再动态加载剩余块。

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

No branches or pull requests

4 participants