3 megs of text

Jeanne A. E. DeVoto jeanne at runrev.com
Mon Mar 4 20:34:05 EST 2002


At 10:37 AM -0800 3/4/2002, Ralf Könner wrote:
>Each line has 3 items: gDate,gTime,"text_A" or "text_B" or "text_rubbish".
>
>1.) I need to get rid of every line that contains "text_rubbish" (item 3).
>2.) If "text_A" in line i is followed by "text_b" in line i+1 then add
>(gTime of line i+1) minus (gTime of line i) to spentTime and 3.) put gDate
>into dateList.
>
>A 480 KB file took my G3/233 about 18 minutes to do this by using "normal"
>repeat loops with 1 if-then-else statement inside.

Can you post the handler here? I can think of a number of possibilities for
speeding things up, but they may be things you've done already.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!





More information about the use-livecode mailing list