You can reduce the form’s run and load time by reducing the use of identical computes. This is done by setting up the compute once and then referencing that result from other places in the form.
This will improve performance because it is quicker to copy a value from another item than it is to compute the value. Furthermore, it is quicker to create a copy relationship in memory than it is to create an if/then/else relationship.
Consider a form with a section that includes 20 items that become visible when CHECK1 is selected. To do this, you must first create a compute that will set the visible option of the first item based on the value of CHECK1. For example:
<visible compute="CHECK1.value == 'on' ? 'on' : 'off'></visible>
You can then set the other 19 items so that they simply reference the visible of the first item. For example:
Exceptions to this practice
There are no exceptions to this practice.