Why my performance benchmark gives me wrong results? – Debian
There is clang-tidy option performance-faster-string-find that detect the use of the std::basic_string::find method (and related ones) with a single character string literal as argument. According to them, the use of a character literal is more efficient. I wanted to perform…