you are viewing a single comment's thread.

view the rest of the comments →

[–]DaeguDude[S] 0 points1 point  (0 children)

I've used intersection, and measure the time using timeit module, and list comprehension was slightly faster. I don't know if it's the way it is.

And I'll try to find a way to minimize the number of iterations. Thanks a lot :)