Fastest way to uniqify a list in Python

Posted by Vojtech R. on Stack Overflow See other posts from Stack Overflow or by Vojtech R.
Published on 2010-03-26T23:17:37Z Indexed on 2010/03/26 23:23 UTC
Read the original article Hit count: 183

Filed under:
|

Hi,

Fastest way to uniqify a list in Python without preserving order? I saw many complicated solutions on Internet - could they be faster then simply:

list(set([a,b,c,a]))

?

© Stack Overflow or respective owner

Related posts about python

Related posts about efficiency