Warp wrote:
> That didn't really answer the question of whether it is able to drop
> the parts which are no longer used.
Garbage collection.
In Haskell, a "string" is a linked-list of characters. Let go of the
pointer to the start of the list and all elements up to the first one
you've still got a pointer to will be collected and freed.
Post a reply to this message
|