Command overhead
Spire_Jeff
Posts: 1,917
Is there a document that details the various overhead associated with each netlinx command?
The example I came up with in chat was: If I have a button event that converts an integer to ascii (ITOA() ) twice, am I better off doing the conversion once and storing it in a variable and then referencing the variable throughout the button event, or should I just use ITOA() twice?
Jeff
The example I came up with in chat was: If I have a button event that converts an integer to ascii (ITOA() ) twice, am I better off doing the conversion once and storing it in a variable and then referencing the variable throughout the button event, or should I just use ITOA() twice?
Jeff
0
Comments
--D
In the grand scheme of things, the processor can handle an awful lot of function calls without breaking a sweat, so it probably doesn't matter unless your useage is extreme. I'm just a little old-school about resource management.