[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua garbage collection and lists..
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 21 Aug 1999 13:02:07 -0300 (EST)
>From lua-l@tecgraf.puc-rio.br Sat Aug 21 04:39:47 1999
>From: Mike Cuddy <mcuddy@fensende.com>
>I've got lists made up of LUA tables, implemented as dummy-header-node
>circularly-linked-lists, with 'next' and 'prev' entries in each table
>for linkage.
>[...]
>Assuming that no other variables reference this table, will it ever be GC'ed?
Yes. Lua uses mark-and-release and so works for circular lists.
--lhf