Use async calculations in SimulateScreen#270
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.