标签:小字符串优化

共 1 篇文章

C++ std::string的SSO小字符串优化机制

C++ std::string的SSO小字符串优化机制 std::string 是 C++ 标准库中用于处理文本的核心工具。在 C++98 时代,无论字符串多短,std::stri

# C++ # string # SSO
2026-05-13 261 0