std::string::find has a character based overload as can be seen here (4th oveload): http://www.cplusplus.com/reference/string/string/find/
Use that instead of constantly allocating temporary strings.
std::string::find has a character based overload as can be seen here (4th oveload): http://www.cplusplus.com/reference/string/string/find/
Use that instead of constantly allocating temporary strings.
std::string::find has a character based overload as can be seen here
(4th oveload): http://www.cplusplus.com/reference/string/string/find/
Use that instead of constantly allocating temporary strings.
utACK a73aab7 although I guess the difference is neglectable?
utACK a73aab7cd8343d795b1a7408bd71f522262ac76e Seems like good practice to me to use the simpler overload where possible, though I wonder, too, if this really makes a difference in these places.