[ https://issues.apache.org/jira/browse/LUCENE-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706372#comment-13706372 ]
Adrien Grand commented on LUCENE-5098: -------------------------------------- bq. A safe conclusion is that moving selectNaive to the test cases now would be premature. OK. bq. I have not actually benchmarked rank9 it against Long.bitCount, but I think we should do that just to be sure that rank9 is slower, and than it can be made package-private. I played a bit with it and rank9 was always between 15% and 20% slower than bitCount no matter what the input was (which is still impressing since bitCount is supposed to be an intrinsic). We used to have a utility method in BitUtil to compute pop counts on longs but we removed it in LUCENE-2221 in favor of Long.bitCount. bq. How about putting the assembly version in BitUtil? Or ToStringUtils? bq. Should LuceneTestCase also be mentioned in the wiki at "How to contribute"? We try to keep this page as concise as possible so I added a mention to it in https://wiki.apache.org/lucene-java/DeveloperTips. > Broadword bit selection > ----------------------- > > Key: LUCENE-5098 > URL: https://issues.apache.org/jira/browse/LUCENE-5098 > Project: Lucene - Core > Issue Type: Improvement > Components: core/other > Reporter: Paul Elschot > Assignee: Adrien Grand > Priority: Minor > Attachments: LUCENE-5098.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org