lowering CPU cycles?

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 7 18:05:18 EDT 2010

David Coker wrote:
> Hello folks,
> This should be the last of my questions for awhile (hopefully).
> I'm doing some pretty intensive data processing while running in a
> repeat loop, which causes the CPU cycles to jump up to 100% for the
> duration of a fairly lengthy run period. Memory consumption seems to
> be fine and the app remains plenty responsive with a "wait with
> messages" inside the loop.
> My question is how can I go about making this app more CPU friendly
> (and hopefully without slowing things down terribly) ?

Don't use a repeat loop, basically. Use "send <msg> in <time>" instead. 
This was one of Scott Raney's major pet peeves and he asked me once to 
write up some info about it. So I did:

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the Use-livecode mailing list