Skip to content

Optimize calls to std::string::find() and friends with single char literals

Found with clang-tidy’s performance-faster-string-find check, which says the character literal overload is more efficient.

Merge request reports