A list comprehension would be a little faster.