Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ms7
· 9y ago · 0 comments
I can't answer your questions with certainty, but for those who can, could ES6 WeakMap address these two things?
Comments
[–]
bgran
9y 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.