So the first one takes less memory than the second one if im right. So for example i could reference the table 10X times but itd still be 1 table in memory
local function TestFunction()
--Insert the code to tesst
end
local Start = tick() --Start time in seconds
for i = 1, 1000 do --For 1,000 times...
TestFunction() --Call TestFunction
End
print(tick()-Start) --End time in seconds
Yes, when you refer to a table, you’re not creating a new one, you’re just creating a local value that refers to a table, has I said, RefTable will be the same that Table.