say we did the following: (ignore if this is silly or if there is a better way, it's a simplified example)
from itertools import izip
def check(someList):
for item in someList:
yield item[0]
for items in izip(check(someHugeList1), check(someHugeList2)):
//some logic
since check is a generator, is it redundant to use izip? Would using regular zip be just as good?