[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Hashing in Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 4 Jul 2000 11:01:20 -0300 (EST)
>From email@example.com Tue Jul 4 10:28:21 2000
>From: "Nick Trout" <firstname.lastname@example.org>
>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.