Greatly reduce the number of pointless temporary std::string instances created