[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Garbage collection (nothing to attract flames ;))
- From: Steve Dekorte <steve@...>
- Date: Thu, 12 Jun 2003 11:03:19 -0700
On Thursday, June 12, 2003, at 10:20 AM, Adam D. Moss wrote:
I can see how this would be of some benefit for global
variables which would otherwise hang around indefinitely,
but what about short-lived local variables and the contents
of local tables, etc?
Since (I think) Lua uses a standard mark and sweep collector, this
shouldn't effect collection unless a collection cycle kicks in while
your function is being executed and even then, I can't see how it would
have any noticeable effect unless a local you nilled out pointed to a
large table structure or userdata containing a bunch of data.
Io, a small language: http://www.iolanguage.com/