Why are chained operator expressions slower than their expanded equivalent?
Why are chained operator expressions slower than their expanded equivalent? Question: In python, it is possible to chain operators in this manner: a op b op c Which is evaluated to a op b and b op c With the only difference being that b is evaluated only once (so, something more like t = …