You should be able to leave out the list comprehension, so `join(...)` instead of `join([...])`. It will then treat the inside of the join(...) as a generator expression which may be faster.