How to get the difference between two lists?

Ken Ray kray at sonsothunder.com
Mon Apr 4 02:40:42 EDT 2005


On 4/4/05 2:31 AM, "Dick Kriesel" <dick.kriesel at mail.com> wrote:

>> With 10,000 lines in my main list and 5,000 lines in my exclude list, it
>> takes only 25 milliseconds to use this on my single-processor PBG4 1MHz:
> 
> Wow, that's fast.  So I decided to compare it to an implementation of Dar's
> second suggestion, which I've been using for a long time. The test I tried
> yields times very different from Richard's.  Even though my machine is a
> dual 2 GHz G5, function "Shortlist" took almost a hundred times longer than
> Richard reported.  I wonder why the times are so different.

Mine ran that slowly as well... perhaps Richard's doing something we aren't?

> But the other function ran almost 70 times faster than function "Shortlist."

That's awesome, Dick... I didn't get a chance to benchmark it so I'll use
that instead.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list