Matthew Twomey Posted October 2, 2020 Report Posted October 2, 2020 Just digging into Lua a bit and before I get too far, I wanted to understand how FSUIPC loads these. I'm not concerned at all with the startup time of FSUIPC, but for repeating functions I wanted to understand if they're being re-compiled anew on each execution. If so, no problem - but I may wish to plan on pre-compiling them.
John Dowson Posted October 2, 2020 Report Posted October 2, 2020 1 hour ago, Matthew Twomey said: I wanted to understand if they're being re-compiled anew on each execution Yes. Each time you start a lua function, it will be compiled and ran. This its why it is better, for many use-case scenarios, to have a lua pre-compiled and running (from the [Auto] ini section). and then waiting on events to activate.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now