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
Right now we have no way of freeing strings once they've been allocated. We don't do a lot of dynamic string creation yet, so this hasn't caused major problems yet, but it will.
Along with this, we should create a static region where compile-time constant strings go.
The text was updated successfully, but these errors were encountered:
This reads a line of text from a file as a string. The returned string includes the trailing newline character.
This leaks memory too, because strings are not region-allocated (Issue #149)
Right now we have no way of freeing strings once they've been allocated. We don't do a lot of dynamic string creation yet, so this hasn't caused major problems yet, but it will.
Along with this, we should create a
static
region where compile-time constant strings go.The text was updated successfully, but these errors were encountered: