Optimize handling of ASCII strings.