Since I cannot find anything in the archives: What can I do to make my
applications stop getting slower?
Whenever I put code into a timer (e.g. to calculate a new generation in a
Life game) I see that the built application runs fine at the beginning but
after a while it gets slower.
Like from 5 ticks up to 60 ticks from one generation to the next. When
moving the mouse it is fast again. I have a pragma disablebackgroundtasks
but that does not seem to make any difference. I tried to put the code into
a thread but that makes things worse. Any suggestion?
|