Revolution speed sucks?

yoy yoy at comcast.net
Tue Aug 5 23:35:01 EDT 2003


Richard,

The stack is created and running on a Dell 800mHz Inspiron 8100 laptop under
Win2k.

Thanks for sharing your "General tips" magic. I'll study up and revise a
copy.

Still, PERLotto is way faster, but I have some trial days left to work it
out.

Thanks,

Andy



----- Original Message ----- 
From: "Richard Gaskin" <ambassador at fourthworld.com>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, August 06, 2003 12:01 AM
Subject: Re: Revolution speed sucks?


> Geoff Canyon wrote:
>
> Even as-is, the Start button there executed its script in just a few
seconds
> on my ol' 500MHz G4.  What sort of system was it tested on, and what else
> was running at the time?
>
> A Rev program can do a lot of work in 30 minutes, and even with the
> inefficiencies in the current script it's just not asking much of Rev that
> it shouldn't be able to do in a small fraction of the time reported.
>
> General tips for optimization:
>
> - Touch data in fields as little as possible; put the data into a variable
> and work on it there, tucking it back into the field when done.
>
> - Use the "repeat for each" construct over "repeat with" everywhere
> possible.
>
> - For lengthy operations that affect the drawing on any controls, use
"lock
> screen" before the operation and "unlock screen" when it's done.
>
> - Unless a lengthy operation also needs to process system messages, use
> "lock messages" before the operation and "unlock messages" when it's done.
>
> -- 
>  Richard Gaskin
>  Fourth World Media Corporation
>  Developer of WebMerge: Publish any database on any Web site
>  ___________________________________________________________
>  Ambassador at FourthWorld.com       http://www.FourthWorld.com
>  Tel: 323-225-3717                       AIM: FourthWorldInc
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list