You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently values allocated, at the moment just Strings, are never deallocated.
A first-cut of ensuring deallocation could use reference counting on each allocated object. Emitted code will need to keep track of when an item enters and leaves scope, along with when the object is copied. A possible optimisation would be to use escape analysis to store values which never live longer than the current function on the stack rather than the heap.
The text was updated successfully, but these errors were encountered:
Currently values allocated, at the moment just
String
s, are never deallocated.A first-cut of ensuring deallocation could use reference counting on each allocated object. Emitted code will need to keep track of when an item enters and leaves scope, along with when the object is copied. A possible optimisation would be to use escape analysis to store values which never live longer than the current function on the stack rather than the heap.
The text was updated successfully, but these errors were encountered: