Most Efficient Timer?

Scott Rossi scott at tactilemedia.com
Mon Nov 29 11:58:02 EST 2004


Recently, Richard Gaskin wrote:

>> I guess Scott was concerned about the smoothness of the time display
>> ticking over. If you send every 1 second, and there is something holding
>> up message processing, the timer may be late to update. Increasing the
>> frequency increases the chance of getting it right (but doesn't
>> guarantee it).
> 
> Wouldn't any issues that would delay the firing of a one-second timer
> also delay a 1/10th second timer as well?

It could, but if one is after one second accuracy, for example, the
one-second timer will be thrown off, whereas the 1/10-second timer has the
opportunity to correct itself (assuming whatever issues delay the timer
don't take 3 seconds to execute).

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list