Variables persistence in Tester
- Temporary global variables
- Flushing global variables to disk
- Declaration and definition of variables
I am not sure of this, but I believe that Global Terminal Variables are cached in memory. Maybe you can use those in your EA optimisations.
Since the names of Global Terminal Variables can be made to be quite complex, you can use the names to do some simple indexing of values, doing something similar to rudimentary arrays or structures via the names.
EDIT: I'm assuming here that you are wanting to have this data the same and cached on all the passes and not different on each pass. If you want to have it different on each pass, then William's suggestion in the previous post is the better option.