Garry's Mod Wiki


jit.opt.start( vararg args )


JIT compiler optimization control. The opt sub-module provides the backend for the -O command line LuaJIT option. You can also use it programmatically, e.g.:

jit.opt.start(2) -- same as -O2 jit.opt.start("-dce") jit.opt.start("hotloop=10", "hotexit=2")

A list of LuaJIT -O command line options can be found here(a table of various optimization levels are displayed towards the bottom of the page along with exactly which optimization options are enabled for each level):


1 vararg args

Page Links

Special Pages



Render Time: 64ms

DB GetPage 39
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 12