Still not good.
You're rebuilding the set for each iteration in the list comprehension which makes it even slower than before.

Build the set just once before the the list comprehension .