`strlen(s.c_str())` should make a good baseline for comparisons.
strlen(s.c_str())should make a good baseline for comparisons.