Hi Dean,

On Thu, Oct 21, 2010 at 06:34, Dean Michael Berris
<[email protected]> wrote:
>
>> So, I think there's merit to not expecting COW from std::string.
>>
>
> Yup, but I haven't been writing cpp-netlib to expect COW. I just think
> that removing copies can be done later on. ;)

Right, I just wanted to make sure you were aware of the reputation of
std::string with COW. It's not great ;-)

That said, maybe it's not such a bad idea. Multiple threads make it
harder to get right, but perhaps not intrinsically worse than heap
allocation + copy. I'll have to mull on that for a while.

Cheers,
- Kim

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to