Expression Buffering

Use

Within an event, you can reuse several expressions. The expression buffer saves each calculated expression so that when requested again, the expression is available immediately and does not have to be calculated completely from scratch again.

Variants of Reuse

The following different reuse variants exist:

  • Variant 1:

    The expression is already in the expression buffer for the current event and has a valid result.

  • Variant 2:

    The system did not find any object that has the same expression type as the requested expression. This object is then reused and calculated again.

  • Variant 3:

    The expression is created for the first time and stored in the expression buffer since the system found no matching expression or object that could be reused.

Definition of Expression Buffering

In event maintenance you define whether expression buffering should be active.

You have the following options:

  • Expression buffering is active

    This means that all expressions in an event are reused (if this is possible).

    At the end of the event, the results of the expressions are invalidated, but the objects are reused in the events that follow.

  • Expression buffering for each rule line is active

    This means that all expressions are only reused in a rule line.

    At the end of each rule line, the results of the expressions are invalidated, but the objects are reused in the rule lines and events that follow.

  • Expression buffering is inactive

    This means that the expression buffer has been deactivated. No expressions are saved in the expression buffer.