XenoAmess edited a comment on pull request #582: URL: https://github.com/apache/commons-lang/pull/582#issuecomment-658104691
Hi. I agree with this pr, but I think you can do it more aggressively. You see, in this function, param `str` is final, thus `str.length()` is final. Why don't we let a variable `final int length = str.length()` to avoid calling function `str.length()` sevaral times? Any ideas guys? ---------------------------------------------------------------- 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]
