Wait Time less than 1 millisecond?
dunbarx at aol.com
dunbarx at aol.com
Wed May 28 12:03:16 EDT 2014
Hi.
Try waiting 0 (with messages?) Zero is not quite zero.
I have no idea if a small loop, waiting 0 one or more times, might actually give you a fraction of a mS. This would be an interesting experiment.
Craig Newman
-----Original Message-----
From: Rick Harrison <harrison at all-auctions.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, May 28, 2014 11:39 am
Subject: Wait Time less than 1 millisecond?
Hi there,
I’m trying to speed up my application by reducing my wait times.
Unfortunately, the wait command itself says that the minimum
wait time is 1 millisecond.
I want to reduce my wait times to .5 or .25 milliseconds.
I’m thinking perhaps a loop to wait just a few cpu cycles.
It would be best if I could start and stop a timer which would
tell me exactly how much time has passed executing my loop.
Ideas? Suggestions?
Thanks,
Rick
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list