orpiske commented on PR #9825: URL: https://github.com/apache/camel/pull/9825#issuecomment-1500859414
> Does the JDK not itself optimize for such use-cases, as its common to check starts with a single char. It probably does. AFAIK, there's a lot that could be in play here: from the JVM/compiler optimizing this, auto-vectorization, to how each platform handle the specific behaviors of the low-level operations that perform this change ... I'd probably leave this one as is. -- 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]
