lua-users home
lua-l archive

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


>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