Y
Hacker News
new
|
ask
|
show
|
jobs
by
ms7
3393 days ago
I can't answer your questions with certainty, but for those who can, could ES6 WeakMap address these two things?
1 comments
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.
link