CppCon 2016:Nicholas Ormrod 谈 Facebook 里 std::string 的奇怪细节
原名:CppCon 2016: Nicholas Ormrod "The strange details of std::string at Facebook"
关于这个视频
Nicholas Ormrod 在 CppCon 2016 上发表了有关 Facebook 如何使用其开源替代品 fbstring 来优化 std::string 的演讲。它涵盖了存储布局权衡、小字符串优化和内存分配行为。
HN 为什么推荐它:HN 再次将其作为关于字符串内部结构、小字符串打包以及为什么小百分比优化在规模上很重要的话题。
“它仍然绝对值得一看”— HN 评论 · 2020 · 原文
查看英文原文
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.
Why HN likes it: HN returns to it as the go-to talk on string internals, small string packing and why small percentage optimizations matter at scale.
“it's still definitely worth a watch”
HN 提及 11 次推荐者 4 人首次 2018最近 2026质量分 4.0
原视频频道:CppCon · YouTube 12.2 万次观看
演讲深入常青标准::字符串FB字符串小字符串优化内存分配CppCon


![Fun to imagine-Richard Feynman-fire[附带中文翻译字幕]](../../covers/BV1N4411S7Ec.jpg)



![[中英]阻止文明崩塌 Preventing the Collapse of Civilization - Jonathan Blow](../../covers/BV15E41167JT.jpg)






