[LLVMdev] Correct use of StringRef and Twine

Chris Lattner
Fri, 22 Jul 2011 20:43:54 -0000

On Jul 19, 2011, at 10:24 AM, David Blaikie wrote:

>>
>>  std::string is really slow in most operations (it does atomic
operations and COW with common implementations,
>
> Hmm, which implementations still use COW, I wonder? I think there's
> something in C++0x that makes it impossible to implement std::string
> as COW.

All GCC's still do this AFAIK, which covers every popular free unix system
that I'm aware of and the Mac.

-Chris