[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Actual gc collection of nil?
- From: "Aaron Brown" <arundelo@...>
- Date: Mon, 26 Jun 2006 10:15:47 -0400
I just want to know if _all_ nil keys/values will actually
be collected then,
Values that take a small, fixed amount of memory -- nils,
booleans, light userdatas, and numbers -- are not
garbage-collectable (or rather, their only garbage is the
reference to them, and when that disappears, there's nothing
left to collect).
(See the macro iscollectable in lobject.h and the LUA_T*
macros in lua.h.)