AnsweredAssumed Answered

Are Calculations based on Get functions cached?

Question asked by alecgregory on Apr 19, 2017
Latest reply on Apr 19, 2017 by Malcolm

Does anyone know if the results of calculations based on Get functions are cached within a script?


For example, if I am using GetValue ( Get ( ScriptParameter ); 1 ) four times in a script, is it more efficient to store it in a variable and all that four times or does it make no real difference? And does the answer change if the scope is a calculation rather than a script? From this post I know Get ( ScriptParameter ) is only evaluated once per script but I don't know if this extends to calculations based on it too.