The speed of MC
xbury.cs at clearstream.com
xbury.cs at clearstream.com
Tue Apr 1 07:48:01 EST 2003
Another 2 things to consider in your loops:
- set cursor to busy
will slow down scripts considerably.
- If you have a "progress" bar, dont change it at every loop,
do so for each percent change or at every 100th...
this will also save major time...
for example
repeat with x = 1 to 100000
if char -3 of x is not oldx then
set cursor to busy
showstatus
put char -3 of x into oldx
end if
So remember to avoid screen updates...
Another consideration is
if x is in "picasso" or x is in "miro" then...
is slower than
if x is in "picassomiro" then
But to avoid mistakes or substring-matching errors,
if x is among the items of "picasso,miro" then...
Enjoy more speed!
Xavier
> -----Original Message-----
> From: Alejandro Tejada [mailto:capellan2000 at yahoo.com]
> Sent: Tuesday, April 01, 2003 12:59
> To: metacard at lists.runrev.com
> Subject: The speed of MC
>
>
> Will, your article is very useful. Keep up the good
> work! I'll like to read about mind numbing fast data
> manipulation (binary, numerical and ascii text)
> using arrays and/or externals (dll's or xcmd and
> xfcn).
>
> on Tue Apr 1 00:28:01 2003
> jbv wrote:
>
> >Do you guys really have to quote the entire original
> >message just to say that you're satisfied with it in
> >a single line ?
>
> If I received individual messages, probably I'll
> hit the reply button too, but as I receive the
> Digest this makes me to be more careful. ;)
>
> By the way, jbv
> Had you continued your work with OpenGL?
> Your work opened a lot of new possibilities for
> this enviroment.
> Are you going to keep working on it? or
> Are you opening the code for anyone that wants
> to continue working with OpenGL?
>
> Thanks for showing us your work!
>
> Alejandro
>
>
>
>
>
> =====
> Useful sites:
> http://www.sonsothunder.com/devres/metacard/tips/ and
> /revolution/tips/
> http://lists.runrev.com/pipermail/metacard/ and /use-revolution/
> http://wiki.macitworks.com/revdocs
> http://www.google.com/advanced_search?q=site:lists.runrev.com
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://platinum.yahoo.com
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.
END OF DISCLAIMER
More information about the metacard
mailing list