If you know the internal layout of the std::string in use, you can replace this function with one that resizes the string without filling the new space with zeros (if applicable) -- it will be non-portable but faster.
source not stored for this graph (policy: none)