bchip
Expert Member
- Joined
- Mar 12, 2013
- Messages
- 1,324
- Reaction score
- 418
Just a general question here on async programming as I dont have much experience on this.
I wrote an windows forms desktop app that imports data. In a child window I run some calculations on the data.
So far its been sync programmed so if I click "do calcs" then the whole system would freeze for hours
doing the calculations. They are pretty hectic so this is expected.
I see that I can run the same calculations through a background worker async.
So the system doesnt freeze anymore but it seems that the calcs are a bit slower.
My question is - what dont I know that I dont know about this?
For example is async running the calcs more slowly, is it the same? Is this bad practise? etc
Any advise on this is much appreciated
I wrote an windows forms desktop app that imports data. In a child window I run some calculations on the data.
So far its been sync programmed so if I click "do calcs" then the whole system would freeze for hours
doing the calculations. They are pretty hectic so this is expected.
I see that I can run the same calculations through a background worker async.
So the system doesnt freeze anymore but it seems that the calcs are a bit slower.
My question is - what dont I know that I dont know about this?
For example is async running the calcs more slowly, is it the same? Is this bad practise? etc
Any advise on this is much appreciated