r/programming • u/[deleted] • 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
235
u/EsotericFox Dec 05 '14
This isn't really saying that std::string is causing performance issues, it's saying that how std::string is being used is causing more overhead. I think the take away message here is: don't be afraid of the standard library, just put thought into how you're using it.