Lowering high CPU rates?
David Coker
davidocoker at gmail.com
Sun Mar 16 13:38:58 EDT 2008
On Sun, Mar 16, 2008 at 12:22 PM, J. Landman Gay
<jacque at hyperactivesw.com> wrote:
> I'll confirm that. I recently wrote a script that had to process a lot
> of data, and I added a progress bar as a matter of course. The script
> took 6 seconds to complete. That felt like quite a long time, so I
> started adjusting the progress update to only change every so many
> cycles. The longer between updates, the faster the script ran. Then I
> had an epiphany and removed the progress bar altogether -- and the same
> data got processed in about a dozen milliseconds. The entire lag was the
> progress bar!
>
> Rev is so fast, sometimes you forget.
Hummm... maybe I better rethink adding the progress bar entirely and
stick with the occasional label field updates. =/
David
More information about the use-livecode
mailing list