Ok... I’ve come up with a theory that storing an array in a game cache and retrieving it is faster than storing each individual integer...
For example if you needed to store several unit and a group.
The normal way to store these is to use the return bug and then store each
Individual one and then retrieve it when needed.
But if you were to add an integer array and store it, the retrieve it then get the info from the array would it be faster?
My argument is that if you only have to retrieve one thing it would take a lot less time than retrieving several things...
However I suspect that an array is just a way of pointing to a stored variable not variable containing variables...
For example if you needed to store several unit and a group.
The normal way to store these is to use the return bug and then store each
Individual one and then retrieve it when needed.
But if you were to add an integer array and store it, the retrieve it then get the info from the array would it be faster?
My argument is that if you only have to retrieve one thing it would take a lot less time than retrieving several things...
However I suspect that an array is just a way of pointing to a stored variable not variable containing variables...