I am trying to clean up a table. Because iterating through it is too difficult (see Efficiently iterating through 3D array), I intend on simply setting its variable to nil, see:
local Table = {{{1,2,3},{1,2,3}},{{1,2,3},{1,2,3}},etc.}
Table = nil
Would the garbage collector clean up Table, and all the tables/values stored in it? Or would those values float in memory causing a leak?