[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Garbage collection durint pcall.
- From: Francisco Olarte <folarte@...>
- Date: Sat, 1 Jun 2019 11:02:01 +0200
Philippe:
On Sat, Jun 1, 2019 at 4:51 AM Philippe Verdy <verdy_p@wanadoo.fr> wrote:
> You don't need to "clear" the locals that hold the parameter values; it's enough to change their value, making the old value then inaccessible and is garbage-collectable at any time after this time, before the function returns, because it is no longer accessible at all (unless you've aliased that value by copying into another variable or data structure which is still accessible).
Oh, my apologies. You are right, I assumed a moderately knowledgeable
audience when I wrote that.
Francisco Olarte.