-
Notifications
You must be signed in to change notification settings - Fork 91
Use async calculations in SimulateScreen #270
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
base: master
Are you sure you want to change the base?
Conversation
I'm not sure how much I'd like to riddle the code with |
I don't think this is a minor gain at all. Getting freezes constantly is not fun, and on long maps it's making simulate screen incredibly painful to use. |
2025-06-28.21-19-51.mp4I don't see the vision sorry - this try was done on a fresh pc boot using hdd so it can be a lot faster on a better setup. Definitely not worth doing adhoc fixes like that for a dev tool, but if you want diffcalc to run without any hitches you should look into refactoring it into an update thread job. |
On my setup there was 2 second freeze after every action. I don't see how using Task.Run is adhoc when it's used in diffcalc in other screens like profile screen. |
This should decrease freezes when changing mods.