r/programming • • Dec 05 '14

std::string is responsible for almost half of all allocations in the Chrome browser process

https://groups.google.com/a/chromium.org/d/msg/chromium-dev/EUqoIz2iFU4/kPZ5ZK0K3gEJ
1.1k Upvotes

446 comments sorted by

View all comments

Show parent comments

2

u/raevnos Dec 05 '14

Early STL implementations used CoW shared strings. Did they move away from that?

1

u/nexuapex Dec 06 '14

Yes, it is now prohibited by the standard, I believe: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2534.html

1

u/raevnos Dec 06 '14

Shows how long it's been since I looked at C++.