jpountz commented on PR #12035: URL: https://github.com/apache/lucene/pull/12035#issuecomment-1881058014
Sorry for the very long delay. This sort of detection of loop invariants is indeed handled by C1/C2 compilers, not javac. Without a benchmark suggesting that there is no performance impact, I would err on the safe side and keep the check outside of the loop. -- 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]
