[EMAIL PROTECTED] wrote:
> On Oct 5, 10:27 am, Abandoned <[EMAIL PROTECTED]> wrote:
>> Hi..
>> I have a problem..
>> list1=[11, 223, 334, 4223...] 1 million element
>> list2=[22,223,4223,2355...] 500.000 element
>>
>> I want to difference list1 to list2 but order very importent..
>>
>> My result must be:
>> list3=[11,334,...]
>>
>> I do this use FOR easly but the speed very imported for me. I want to
>> the fastest method please help me.
>>
>> I'm sorry my bad english.
>>
>> King regards..
> 
> Research the "set" data type. :)
> 
Probably not a very helpful suggestion given that ordering is stated to 
be very important.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline so I couldn't cat it

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to