C++ Small string optimizations
What is "small string optimization"?Standard C++ string stores its data on the heap. But that is only true if the string grows over an implementation-dependent size. That predefined size for std::string is/was 15 for MSVC and GCC and 23 for Clang. That is: C++ string stays "small", if