rmuir commented on issue #12639: URL: https://github.com/apache/lucene/issues/12639#issuecomment-1755366199
I see less of an improvement: ``` Benchmark (size) Mode Cnt Score Error Units BitCountBenchmark.bitCountNew 1024 thrpt 5 2.243 ± 0.032 ops/us BitCountBenchmark.bitCountOld 1024 thrpt 5 1.593 ± 0.032 ops/us ``` I think we should be careful, as there are plenty of machines without popcnt support. But vector api doesn't expose enough for us to play it safe. IMO this is an issue with openjdk compiler, we should ask why it does not do as well as the "obvious" vector API loop. The instructions generated are very different. -- 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