better living through list comprehension: performance tweak on opc.py