Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The main category of problems which may arise for the Ogrescript coder has to do with the non-idempotency obtaining from a more static element tree (the result of the optimizations (effected in version 0.6) resulting in a more static (and thus more efficient) element tree.

Java Object Semantics

1. Objects are no longer re-instantiated/rebuilt unless they have an internal Collection to which they add through an addX method. If the object has data structures such as a Map, they will not be cleared or reconstructed by the Ogrescript engine on multiple calls to execute the containing task (i.e., inside a loop). In such cases, the object or task must be desigined specifically to discard the entries in the structure (probably as the last thing done by the execute method).

...