Facebook's fbstring: Optimizing std::string
CppCon · Talk · YouTube title: CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"
Why it's here
HN returns to it as the go-to talk on string internals, small string packing and why small percentage optimizations matter at scale.
What it covers
Nicholas Ormrod's CppCon 2016 talk on how Facebook optimizes std::string with its open-source replacement fbstring. It covers storage layout tradeoffs, small string optimization and memory allocation behavior.