You should pull the op out of the dictionary before the loop once, rather than on every iteration.  In very basic psuedocode:

```python
op = ops[op]
for x, y in zip(...):
    ...
    op(x, y)
```