Comment 2 for bug 1587983

Revision history for this message
Douglas Katzman (dougk) wrote :

I'd like to see whether there's a way to not store the finalized objects in both a list and hashtable. The hashtable should be enough, but no existing flavor of hashtable will work.
A weak-keyed table obviously loses the finalizers, and an EQ table keyed by explicit (make-weak-pointer key) would not work for a variety of reasons.
I don't think it should be terribly hard to concoct a new flavor of hashtable that supports EQ-comparison, deletion, and key weakness without losing the values. I'll think about how to do that