Interesting - I'm using a 1.67 GHz Powerbook and my best speed using
your changes is in the low 30's - are Macs that much slower?
On this size, it doesn't seem to make any difference as to whether is
' for each word myWord' or 'for each line myWord'
Ro Nagey
On Jul 20, 2005, at 7:55 PM, Alex Tweedly wrote:
I made a couple of tweaks:
1 Changed
repeat for each line l in fld "words"
...
put l into myWord
to simply
repeat for each line myWord in fld "words"
since l was not used anywhere else, and myWord was not changed.
2. moved the "delete char 1 to 2 of daWord" to after the if test
(no need to delete them if you are about to exit the loop).
Those improved it to 20 msecs (which I think is the limit of
resolution on my machine - the original was sometimes 28, sometimes
29, sometimes 31 - now it is always 20.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution