repeat or send - what takes less cpu time?

Sarah Reichelt sarah.reichelt at gmail.com
Tue Oct 20 18:04:11 EDT 2009


> i have to create a little app, which stays in the taskbar and connects every 5 minutes to a website to check, if a specific file is online. If this file is not found the program waits 5 minutes before it checks again for the file. What takes less cpu time? A repeat loop or should i better use "send...."

I recommend using "send". That way the app is resting and not using
any CPU during it's 5 minutes.

Cheers,
Sarah



More information about the use-livecode mailing list