Brian-

Wednesday, March 24, 2010, 7:13:33 PM, you wrote:

> "repeat for each" is asking the engine to find every line ending
> in the text which would necessarily take much longer and get worse
> with scale, no?

Yes and no. "Repeat for each line" just needs to move to the next
carriage return in the variable. I don't claim to be as smart as Scott
Raney, but if I were writing the routine I'd do a seek to the next cr,
then store the pointer for use in the next iteration. That way the
speed shouldn't be data-dependent.

-- 
-Mark Wieder
 [email protected]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to