[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: lua garbage collection and lists..
From: Luiz Henrique de Figueiredo <lhf () tecgraf ! puc-rio ! br>
Date: 1999-08-21 16:02:07
Message-ID: 199908211602.NAA05911 () gauguin ! tecgraf ! puc-rio ! br
[Download RAW message or body]
>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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic