WL#1673: Simple but efficient optimisations in blocks

Status: Assigned   —   Priority: Medium

Change code like
operationRecPtr.p->x = 1;
operationRecPtr.p->y = 2;

regOpPtr = operationRecPtr.p;
regOpPtr->x = 1;
regOpPtr->y = 2;

Saves a load instruction and about 2-3 cycles for each second
occurrence of regOpPtr in the code. Sometimes more if a cache
miss occurs.


If operationRecPtr is a stack variable instead of a block/global variable
the load is also saved.

So this accidently hooks up with the goal not to overuse block/blobal variables