3 ms·
PLT already has ephemerons too: http://docs.plt-scheme.org/reference/ephemerons.html http://docs.plt-scheme.org/reference/ephemerons.html
by copper 17y ago
PLT already has ephemerons too:
http://docs.plt-scheme.org/reference/ephemerons.html http://docs.plt-scheme.org/reference/ephemerons.html
- madair 17y agoThanks! That link says it pretty clear: In particular, an ephemeron can be combined with a weak hash table (see Hash Tables) to produce a mapping where the memory manager can reclaim key–value pairs even when the value refers to the key.