Suppose I have an IF condition :
IF
if (A || B) ∧ | | left { // do something }
Now suppose that A
A
Yes exactly, you're gaining runtime, it won't seem much for one operation, but you have to keep in mind that operations will get repeated millions of times
Why perform two evaluations when one is enough is the logic