Would importing izip from itertools be the wrong solution here (too much overhead)?  I've never used zip instead of izip, in fact...