Hi folks,
Frank Heckenbach wrote:
No, reference counting is not the same as keeping track of all references. You don't have to search the references (inefficiently), just change a counter.
Hmm, I see the point here. When setting pointer p from p1 to p2, we needn't know all other pointers referencing p1^ in order to decrease "refCount(p1^)" by 1. Okay.
Markus