I have searched, but seem to be unable to find an answer.
When do .net scripts get compiled? Is it each and every time the script is executed? Or does Homeseer cache the compiled scripts so that later executions do not need a recompile?
When the compile actually occurs needs to be considered as a design issue. If the script is recompiled each time it is used, then it will be better to make the script as small as possible, and to duplicate common subroutines/functions into each script that needs them. If just compiled once, then it would be better to make larger script files, with perhaps multiple entry points.
Inquiring minds are curious.
When do .net scripts get compiled? Is it each and every time the script is executed? Or does Homeseer cache the compiled scripts so that later executions do not need a recompile?
When the compile actually occurs needs to be considered as a design issue. If the script is recompiled each time it is used, then it will be better to make the script as small as possible, and to duplicate common subroutines/functions into each script that needs them. If just compiled once, then it would be better to make larger script files, with perhaps multiple entry points.
Inquiring minds are curious.
Comment