Re:Dismissing Python Garbage Collection at Instagram
by philosopheer on Monday January 23, 2017 @03:07PM
(#13465461)
I think you mean memory usage is lexically scoped because no pointers to blocks are saved or returned? I think, and didn't really want to think harder, just thought in the same sense that functional brings some useful baggage with it, so does lexical scope.
Additionally, all memory used by a page is cleaned up when the page is finished processing. This has to do with "Memory is scoped" more than immutable data structures.