×
Get new posts in your inbox

In plain English, “Short-Circuit” is the intelligence of an algorithm to skip processing the remaining part of a condition, if the desired results have been achieved mid-way and the rest of the condition will not have any effect on the result.

Executing scripts unnecessarily can exhaust resources. Short-circuit ensures that the results are achieved by executing scripts the minimum number of times possible.

Consider the following expression that has two operands, A and B.

If A is True, (AND) B is True, then execute script.

It means, the script has to be executed when both A and B are true. To find that out, both A and B have to be tried. But what if A is tried first, and is found to be false? Regardless of what B turns out to be, the script will not be executed because one of the two (A) has failed. There is no point in trying B. Short-circuit is responsible for skipping B.

Short-circuit can be applied to Boolean operators in which just one of the two operands is enough to determine the result of the expression. Operators like AND and OR, for example.

So, Zoho Creator is now short-circuit-intelligent, and it optimizes the execution of scripts, productively affects time taken to make decisions and improves the overall performance. This is not like a new feature that you can try. It is more like those which can’t be seen, but feel good when experienced. You know.