CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"
CppCon · 31:18 · Watch on YouTube
The talk shows why Facebook replaced std::string with fbstring: old GCC copy-on-write strings caused heap / cache misses, SSO with 23 bytes in-situ plus jemalloc tricks won ~1% fleet-wide, but GCC 5's new SSO string f...