Hacker News new | ask | show | jobs
by bgran 3393 days ago
WeakMap just allows you to tell the GC "don't hold on to this memory just because I'm using it as a key in this Map" -- it doesn't let you tell the GC what to actually do with the memory.