replaces calls to global functions with calls to local functions and generates a single line of local variable assignments at the top
so something like :
local function doSomething(s)
s = string.rep(s, 100)
print(s)
end
turns into
local string_rep, pring = string.rep, print
local function doSomething(s)
s = string_rep(s, 100)
print(s)
end
replaces calls to global functions with calls to local functions and generates a single line of local variable assignments at the top
so something like :
turns into