If you are optimising for speed, should you think about the order of conditions in an OR or AND statement? I have been assuming that Inform evaluates a condition of the form “A or B” in this way:

- Check whether A is true. If so, evaluate to true. If not, go to step 2.
- Check whether B is true. If so, evaluate to true. Otherwise, evaluate to false.

If this is the case, you should put the statement that is most often true (or that is least costly to evaluate; or to be precise, that has the highest value for [chance to be true]/[time to evaluate]) in place A. This is faster than putting it in place B.

Is this true? Or does Inform evaluate conditions in some other way?