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: 内存优化 #168

Closed
wants to merge 4 commits into from
Closed

perf: 内存优化 #168

wants to merge 4 commits into from

Conversation

starhcq
Copy link
Contributor

@starhcq starhcq commented Jun 30, 2023

限制年/月视图Image控件请求的图片最大不超过1000*618,以避免年/视图图片因缓存原始尺寸图片而占用过大内存

Log: 内存优化

   限制年/月视图Image控件请求的图片最大不超过1000*618,以避免年/视图图片因缓存原始尺寸图片而占用过大内存

Log: 内存优化
    1.规范anchors锚布局代码
    2.滥用Rectangle组件的地方改为Item,避免多次绘制同一区域
    3.简化和合并ThumnailImage控件相关代码
    4.id为root的子控件命名为其他名称
Log: 规范qml代码
    1.规范anchors锚布局代码
    2.滥用Rectangle组件的地方改为Item,避免多次绘制同一区域
    3.简化和合并ThumnailImage控件相关代码
    4.id为root的子控件命名为其他名称

Log: 规范qml代码
@starhcq starhcq closed this by deleting the head repository Jun 30, 2023
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.

1 participant