[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Garbage collecting locals
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 21 Feb 2001 16:29:40 -0300 (EST)
>Do local variables get garbage collected when the block that contains them
>is over?
Just to be picky: the *values* of the local variables for which there are no
other references are collected in the next cycle after the block ends.
>Do locals get garbage collected first during the garbage collection phase?
No order is guaranteed.
>Is there a way to force garbage collection in general?
collectgarbage()
--lhf