prototype multiple dispatch creates uncollectable garbage?
James McCartney
asynth at io.com
Tue Sep 7 10:09:48 PDT 2004
On Sep 7, 2004, at 5:00 PM, Lee Salzman wrote:
> One easy way around this is just to GC roles/methods by whether or
> not all role positions have some roles pointing to the method.
This doesn't seem so easy. Not only do you have to notice that a
method's reference count has dropped below the number of roles, you
have to go find each of those roles' entries in their corresponding
objects and set them to nil. No traditional GC mechanism (e.g.
reference counting, weak pointers) can handle this without further
modification.
--
--- james mccartney james at audiosynth.com <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language
More information about the Slate
mailing list