davis.phil at comcast.net
Tue Jun 8 16:02:17 CDT 2004
Hi Bob -
----- Original Message -----
From: "Bob Nelson" <bobnelson at mac.com>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, June 08, 2004 1:18 PM
Subject: Not Shy...
--- snip ---
> Here's what I noticed about execution:
> 1. Importing the URL is awesome - a great feature that makes my life
> much easier for this project! And fast, too!
> 2. The page I grabbed consisted of 140,000 lines of code. After removing
> extra line feeds, the number of lines is around 80,000.
You might consider changing your approach so you can take advantage of Rev's
power. (Some changes would also help in HC - for example, use variables
instead of fields as the place where you change data.) But anyway, you could
-- put field into variable for improved performance
put fld "Imported_Raw" into vRawText
-- get rid of empty lines
repeat while (cr & cr is in vRawText)
replace (cr & cr) with cr in vRawText
> 3. This script runs VERY slow, compared to relatively the same script in
> HyperCard running under 9.2.1 -- as an example, Revolution has been
> this script for more than 18 hours and still hasn't finished processing.
> (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X most current version
> with all updates.) Under HC, the similar script executed in about an
> running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- any comments regarding
> execution speed?
Check out Ken Ray's optimization tips:
There are others on the list who have info like this too - I could only
think of Ken's offhand.
> 4. I don't see any mechanisms for determining progress of the
> although I may have certainly missed something. Are there any progress
> bars, etc., that one can use in Revolution?
You can use a scrollbar. Read all about it in the Rev docs.
I'll leave the other items (below) for someone else.
> 5. Looking through all the examples I can find, as well as documentation,
> noted that there aren't many examples related to text manipulation - and
> importing/exporting text, etc., in/out of your stack. I'm sure I missed
> something on this front, as I'm sure people would be doing this all the
> time... Can anyone point me in a direction?
> Finally, I'm impressed with the professional layout of the product - this
> could well be the perfect 'update' (I'm sure they don't like to hear that
> Rev!) to HyperCard. I'm looking forward to a book, like The Complete
> HyperCard Handbook, that lays out the functionality of Revolution as an
> awesome reference book.
> Thanks for your time!
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode