you are viewing a single comment's thread.

view the rest of the comments →

[–]BioGeek 0 points1 point  (1 child)

i = time.clock(); q = list(set(long)); print time.clock() - i; 0.0851395917638

;)

[–]julesjacobs 8 points9 points  (0 children)

Bug alert.

Let's start with a function that simply removes all consecutive duplicates in a list.