[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: food for thought re: string representations ["Boehm, Hans" <address@

From: Michael Livshin
Subject: Re: food for thought re: string representations ["Boehm, Hans" <address@hidden>] RE: Re: [gclist] ref-counting performance cost
Date: 12 Oct 2000 08:39:47 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (20 Minutes to Nikko)

Dirk Herrmann <address@hidden> writes:

> On 11 Oct 2000, Michael Livshin wrote:
> > just caught this on the GC mailing list.  look for the comments on the 
> > C++ string class near the end.
> If I remember correctly, the problems with the C++ string class originate
> from the following problem:
> Take the expression
>   s[pos] = c;
> where s is a string.  How do you realize a copy-on-write semantics for
> s?

fwiw, I was mostly alluding to his comments about COW and threads.
sorry for not being more specific.

Being really good at C++ is like being  really good at using rocks to
sharpen sticks.
                -- Thant Tessman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]