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

缓存 Mod Hash 计算结果 #3037

Closed
3 tasks done
computer-drive opened this issue Dec 26, 2023 · 2 comments
Closed
3 tasks done

缓存 Mod Hash 计算结果 #3037

computer-drive opened this issue Dec 26, 2023 · 2 comments
Labels
· 优化 完成 该 Issue 已被处理,将在下次更新中实装

Comments

@computer-drive
Copy link

检查项

  • 我已在 Issues 页面常见&难检反馈及问题列表 中搜索,确认了这一提案未被提交过。
  • 我已查看 功能投票页面,确认了这一提案未在投票列表中。
  • 我知晓还没做的新功能真的太多了,忙不过来,所以新功能提案几乎不会被处理,也不建议再提交新功能提案 qwq……

描述

加入一个设置功能,用于开关显示mod图标,并且加入缓存。

原因

在新版本打开一个版本的mod管理界面时,和先前不同的是,当mod过多时,加载的时间比以前更长了,除此之外,也变得更卡了,因此我希望加入设置和缓存功能

@computer-drive computer-drive added · 新功能 新反馈 需要社区初步确认其有效的新 Issue labels Dec 26, 2023
@LTCatt LTCatt changed the title 为mod图标添加缓存和设置 缓存 Mod Hash 计算结果 Dec 26, 2023
@LTCatt
Copy link
Member

LTCatt commented Dec 26, 2023

设置和图标都有缓存,加载时间变长是因为要计算 Mod 的 Hash,之后可以给这个加个缓存
备注:也得加个虚拟化

@LTCatt LTCatt added 处理中 开发者正在调查或处理该 Issue · 优化 and removed 新反馈 需要社区初步确认其有效的新 Issue · 新功能 labels Dec 26, 2023
@HomoobyDX
Copy link

或许和bakaxl的模组索引一样的效果?

@LTCatt LTCatt closed this as completed Mar 30, 2024
@HexDragon-Bot HexDragon-Bot added 完成 该 Issue 已被处理,将在下次更新中实装 and removed 处理中 开发者正在调查或处理该 Issue labels Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· 优化 完成 该 Issue 已被处理,将在下次更新中实装
Projects
None yet
Development

No branches or pull requests

4 participants