ChristopherSchultz commented on PR #893: URL: https://github.com/apache/tomcat/pull/893#issuecomment-3289691376
> > Looking at MimeHeaders and MessageBytes, I don't see where String.toLowerCase is being called. Should I be looking elsewhere? > > It is all `equalsIgnoreCase()` rather than `toLowerCase()` I saw those. My comment was that no new String objects are created. Instead, the MessageBytes class implements that method in a way very similar to String.equalsIgnoreCase when only latin1 characters are being used. That is, it's relatively quick and doesn't generate any garbage. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
