Both of these tables have references to each other, but neither are referenced anywhere else outside of the function. Will these tables remain in memory after a call to f() or will they be garbage collected?
function f()
local t1 = {}
local t2 = {}
t1[1] = t2
t2[1] = t1
end
f()