GCC 5 includes the new std::string implementation that I guess is optimized for small strings. Where can I find details about the new implementation compared to the old? Specifically, I am interested in predicting when the object will allocate additional memory. The old string was very predictable in this regard, and this is important for certain embedded systems.