dweiss commented on pull request #2320: URL: https://github.com/apache/lucene-solr/pull/2320#issuecomment-775486902
I think it's worth it - you compute it once before the loop and you can see it's a constant. Why so sure String.length() is always precomputed? :) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
