[Gc] weak maps and libgc
Andy Wingo
wingo at pobox.com
Tue Oct 25 12:56:45 PDT 2011
Hi Petter,
Thanks for the note!
On Tue 25 Oct 2011 19:18, Petter Urkedal <urkedal at nbi.dk> writes:
> Ivan recently accepted a patch I've been using for some time to
> implement hash-consing efficiently. The API is found in "gc_disclaim.h". I
> intended it to be general enough to implement other weak data structures, as
> well.
Do you have to allocate the keys in your table to be of a certain kind?
In my case that is not possible, if I understand you correctly, as the
objects might already have another kind of their own.
Andy
--
http://wingolog.org/
More information about the Gc
mailing list