Next: WeakValueLookupTable, Previous: WeakSet, Up: Base classes [Index]
I am similar to a plain identity dictionary, but my values are stored in a weak array; I track which of the values are garbage collected and, as soon as one of them is accessed, I swiftly remove the associations for the garbage collected values