rmuir commented on PR #14242: URL: https://github.com/apache/lucene/pull/14242#issuecomment-2659233974
This was written this way (with a bit of redundancy) on purpose to make it 100% clear it is consistent with `VectorSpecies.loopBound`: > As long as VLENGTH is a power of two, then the result is also equal to length & ~(VLENGTH - 1). https://docs.oracle.com/en/java/javase/23/docs/api/jdk.incubator.vector/jdk/incubator/vector/VectorSpecies.html#loopBound(int) -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org