lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Title: RE: Lua's GC

> t = {{{{{{{{{{{{'test'}}}}}}}}}}}}
>
> t = nil
>
> how many gc cycles will be needed to collect 'test' ?
> only 1 ?

I think so, since none of the tables are reachable from the
outside (nor the inner string).

--
Vincent Penquerc'h