that's an interesting idea. However, consider which code gets executed.
For the first, we execute:
a, jump
b, jump
c, jump
For the second, we execute:
a, jump (short circuit and : if a and b <-> if a if b)
b, jump
a, jump
c, jump
Seems like #2 has to run more to me, so I would expect that to be slower. |