The items in tDeletions are reverse sorted.  That way the lines are deleted
from last to first, so that things work correctly.

Wondering about filter also now. Again, depending on how complicated the
criteria (though with regex support,could be pretty darn complex?)  a
direct filter might be the best option.


On Sun, Aug 31, 2014 at 10:08 AM, Sri <sri...@gmail.com> wrote:

> Hi Mike:
>
> In your method 1,
> .....
>    repeat for each item tItem in tDeletions
>       delete line tItem of tDat --delete the lines after the repeat for
> each.
>    end repeat
> .......
>
> the line numbers of tDat will get rearranged dynamically after each
> deletion,
> whereas the line numbers contained in tDeletions are static.
> Won't it mess up the whole thing?
>
> Regards,
> Sri
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Speed-testing-Fastest-search-method-tp4682719p4682730.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to