Hacker News new | ask | show | jobs
by mst 4304 days ago
This is pretty much what the perl5 VM does on scope exit to blow away unused temporaries.

Weak references take a while to figure out but once you have, refcounting is so much more predictable than GC.