Speed/memory optimizaton tricks
Faster getValue()
local foo = getValue("bar")local my_id = getFiledInfo("bar").id -- here we get the numerical id of the filed "bar"
local function run_a_lot()
local my_value = getValue(my_id) -- exactly the same effect as local my_value = getValue("bar"), but faster
endLast updated
Was this helpful?