Parameters should not be written to

A parameter is assigned to here. This is a bad coding practice which unfortunately happens a lot in old Fractint formulas, therefore it is supported by Ultra Fractal. Example:

p1 = p1 + (2,0)

Ultra Fractal recompiles the formula each time the parameters change, replacing all parameters by their constant values. Since constant expressions are evaluated before compiling, constant expressions with parameters can then also be evaluated and replaced by their result. This often results in a substantial speed improvement.

However, when a parameter is written to, this optimization cannot be performed, so the formula will often run slower. Therefore, you should not write to parameters. If necessary, introduce a new temporary variable.

complex temp = p1 + (2,0)

See Also
Parameters
Warnings