[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Garbage collection (nothing to attract flames ;))
- From: "Adam D. Moss" <adam@...>
- Date: Thu, 12 Jun 2003 18:20:17 +0100
Hello!
I was wondering, since I've seen this done occasionally while
browsing other peoples' code: does it in any real way aid garbage
collection (either in terms of immediacy of collection or
gc running time) to explicitly nil-out variables which you
know you won't be accessing again?
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?
Thanks,
--Adam
--
Adam D. Moss . ,,^^ adam@gimp.org http://www.foxbox.org/ co:3
"Responsible parents don't raise kids in West Virginia."