Using as base the Example Project "UIThreadingWithTimer.xojo_binary_project" (Example Projects/Desktop/UpdatingUIFromThread), I've add my code for making some calculations.
If I run the code directly (so not in the Thread), it takes 2 minutes in making all calculations.
If I put exactly the same code inside the Thread (so refreshing the ProgressBar), it takes 45 minutes in finishing and making the same calculations as above.
Any idea of why it's taking so much time for making exactly the same?.
I need to add into my program a ProgressBar for indicating the end user how is going the calculation, but it's the first time I'm adding something like this and I'm loosing something as it should not increase so much the total calculation time.
I'm using Xojo 2019 Release 3.1