Disruptive
Programmer
Hi
I have some simulation code which passes all arrays by reference to the required function block. I have avoided global variables even though this would be the easiest method and therefore I have functions which are being send maybe 10-15 arrays and the headers are quite cumbersome. However my key question is speed/efficiency. I am concerned that I may have been able to gain a speed advantage by using global variables? Do you think this is the case?
Thx
I have some simulation code which passes all arrays by reference to the required function block. I have avoided global variables even though this would be the easiest method and therefore I have functions which are being send maybe 10-15 arrays and the headers are quite cumbersome. However my key question is speed/efficiency. I am concerned that I may have been able to gain a speed advantage by using global variables? Do you think this is the case?
Thx