in reply to Re: Playing with the Reference Count of variables (to create a POOL of objects wihtout mess with DESTROY).
in thread Playing with the Reference Count of variables (to create a POOL of objects wihtout mess with DESTROY).
Perhaps I'm exposing my ignorance, but I don't understand why you wish to implement such complicated VooDoo.
It can be useful in maintaining object caches. If you want to only ever have one object of a specific value extant at any one time then a hash is an obvious choice, but you don't want the values in the hash interfering with the object collected when it falls out of scope.
|
|---|