how to compare 2 very large textfiles
Richard Gaskin
ambassador at fourthworld.com
Fri Oct 7 10:34:07 EDT 2011
Alex Tweedly wrote:
> So I tried the sort + compare version. It is slightly slower than the
> array technique up to around 10,000 lines, pretty much the same up to
> 20,000 lines and then (sometimes) starts to edge ahead after that. I
> gave up trying at 40,000 lines :-)
>
> But if the data had been sorted already, or had to be sorted for some
> other reason, then it would be roughly twice as quick as the array method.
Very useful to know. Thanks for taking the time to test that.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode
mailing list