4 ms·
How about lexical memory management as a nod to dynamic vs. lexical scoping?
by DasIch 11y ago
How about lexical memory management as a nod to dynamic vs. lexical scoping?
- steveklabnik 11y agoThat might work for now, but something we're working on for the future is making borrows non-lexical, so....
- kibwen 11y agoBorrows may be non-lexical in the future, but deallocation via ownership will always be at the end of a lexical scope. Not only would eager deallocation be bad for performance, it's also a backcompat hazard at this point.