Hi,
Is it a good practice to always substitute intristic Timer with the API's version (SetTimer/KillTimer)?
How much more efficient is it? What do you guys think?
Thanks
Printable View
Hi,
Is it a good practice to always substitute intristic Timer with the API's version (SetTimer/KillTimer)?
How much more efficient is it? What do you guys think?
Thanks
Not much efficience you gain, Timers are controls though and they consume some resources, they are inaccurate and interval can't be set lower than 53 ms and higher (actually you can but not with actual effect) than 2^16 milliseconds that is about 65 seconds. So yes i prefer and recommend Settimer, but the fact that timers are easy to use and has the about same efficiency, they aren't bad in any ways if you just need to use them about each 5'th second.