execVM filename – Talk
mNo edit summary |
(→Compiling: Answered when.) |
||
Line 19: | Line 19: | ||
== Compiling == | == Compiling == | ||
Question: When does the compiling process happen? While the mission is loaded or everytime the function is executed or only one time when the function is executed the first time? I would like to know this, so that I know what saves more performance either to use [[execVM]] or [[compile]] every function at the beginning of the mission to process the compiled code with [[call ]]. --[[User:T D|T_D]] 18:25, 5 August 2006 (CEST) [[ | Question: When does the compiling process happen? While the mission is loaded or everytime the function is executed or only one time when the function is executed the first time? I would like to know this, so that I know what saves more performance either to use [[execVM]] or [[compile]] every function at the beginning of the mission to process the compiled code with [[call ]]. --[[User:T D|T_D]] 18:25, 5 August 2006 (CEST) | ||
::It is compiled each time execVM is called. Using compile / call (or spawn) gives you more control over this and can be used to precompile code to be executed more often. --[[User:Suma|Suma]] 23:07, 16 October 2006 (CEST) |
Revision as of 22:07, 16 October 2006
Merge suggesttion
I suggest to merge this article with execVM to execVM page. --Djura 18:48, 23 July 2006 (CEST)
These articles are scripting commands and are grouped with the rest of the scripting commands.
They are both listed in my comref as separate commands.
execVM filename expects just the one parameter filename
execVM expects two parameters argument and filename
The new commands are still WIP and if these two commands need to be rationalised then it will eventually happen once BI have finalised, as much as possible, the comref.
Until then I would suggest they remain as they are for now.
Planck 13:51, 23 July 2006 (CEST)
Compiling
Question: When does the compiling process happen? While the mission is loaded or everytime the function is executed or only one time when the function is executed the first time? I would like to know this, so that I know what saves more performance either to use execVM or compile every function at the beginning of the mission to process the compiled code with call . --T_D 18:25, 5 August 2006 (CEST)
- It is compiled each time execVM is called. Using compile / call (or spawn) gives you more control over this and can be used to precompile code to be executed more often. --Suma 23:07, 16 October 2006 (CEST)