da Silva, Joe wrote:
You could also search the reference pointers when disposing a store pointer, to find out which of these are affected, but that would be inefficient (like GC;-).
It's always easy to make such claims, but I've yet to see a solution (for the general case) that is more efficient, considering any hidden costs?
BTW, have you studied GC algorithms? I haven't, but I've see that some research has done in this area and a good GC algorithm is quite a bit better than an implementation I'd come up with if I tried it naively ...
Frank