yaagl / yet-another-anime-game-launcher

Discord server https://discord.gg/HrV52MgSC2 QQ频道 https://pd.qq.com/s/1dwwmkgq4
MIT License
849 stars 68 forks source link

[Feature request] run Check Integrity in parallel #265

Open MrGcGamer opened 7 months ago

MrGcGamer commented 7 months ago

Is your feature request related to a problem? Please describe. It is not a real problem, but it would be nice to not have to wait as long for the integrity check to complete.

Describe the solution you'd like Run this loop in parallel using Promise.all or equivalents.

Additional context From my testing: disk usage without this change is always near 0MB/s as there a lot of small files, while disk usage is somewhere around 50-60MB/s with the supposed change, but I can't seem to figure out, how to update the UI properly with that approach, which is why I am opening this Feature Request instead of making a PR.