Python List Comprehension Reuse Variable Cost