Darren New wrote:
> Warp wrote:
>> Btw, what does it do if you jump to the beginning of the string after
>> it has been garbage-collected?
>
> It won't get GCed if it's possible to jump to the beginning.
What Darren said. ;-)
Notice that a string is a *single-linked* list. (I.e., there are "next"
pointers but no "prev" pointers.)
Post a reply to this message
|