how to compare 2 very large textfiles

Pete pete at mollysrevenge.com
Thu Oct 6 20:57:20 EDT 2011


That's a good thought Bob, LC just has to look for the first line break that
way.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Thu, Oct 6, 2011 at 4:59 PM, Bob Sneidar <bobs at twft.com> wrote:

> Not to beat a dead horse, but when converting a large string of text to an
> array, it might be somewhat faster to delete each line as you put it into
> the array, and only work with the first line. Very little scan times.
>
> Bob
>
>
> On Oct 6, 2011, at 4:45 PM, Pete wrote:
>
> > Thanks Alex.  I managed to cobble something together to get the test
> lists.
> >
> >
> > I did try the binary search approach and it was way slower than the array
> > approach as you predicted (Still much faster than the original code
> Matthias
> > was using though).  So I'm happy with the array technique now.  Someone
> > posted a variation on my original code which might be slightly faster.
> >
> >
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list