What is the best way to merge two lists?

Pierre Rouleau pieroul at attglobal.net
Sat Nov 16 22:44:20 EST 2002


What's the most efficient way to merge two lists inside a single one 
with the resulting list having only one instance of each element (ie not 
having two elements with the same value)?

The order of the elements is not a criteria for the selection of the 
algorithm.

Thanks

-- 
Pierre Rouleau




More information about the Python-list mailing list