Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
i've found some good tips for optimizing Lua programs:
https://www.lua.org/gems/sample.pdf
Done is better than perfect
Posts: 7820
Threads: 42
Joined: Jun 2015
Reputation:
450
This guide is for standard Lua, where as LM uses LuaJIT which already does many optimizations when running the code.
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
FYes, but some of advices are very good also for JIT version E.g. using locals(also using local copy of math.sin when using it in loop and modifying data model. Maybe this is for some advanced users intuitive but for sure for less of users. Also using simple for loop instead of in ipairs when you must optimize your script.
Done is better than perfect
Posts: 20
Threads: 4
Joined: Sep 2017
Reputation:
0
Hi,
How can create a window pop-up in the crhome or firefox when one object active?
Thanks
Posts: 7820
Threads: 42
Joined: Jun 2015
Reputation:
450
Please create a separate thread and explain in more detail.
Posts: 49
Threads: 3
Joined: May 2018
Reputation:
0
Hello,
I need use the goto statement for avoid to execute some commands.
How I can implement it?
Fabio