[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hashing in Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 4 Jul 2000 11:01:20 -0300 (EST)
>From lua-l@tecgraf.puc-rio.br Tue Jul 4 10:28:21 2000
>From: "Nick Trout" <nick@videosystem.co.uk>
>
>Just to clarify. Is it only the table which are collected? What about numbers,
>functions and user objects? Are these not collected until a lua_close()?
All Lua objects that are garbage are collected.
Lua uses mark-and-sweep GC, not reference counts.
Everything that is no longer referenced is collected, even cycles of garbage.
--lhf