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
_______________________________________________
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