[ https://issues.apache.org/jira/browse/LUCENE-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045576#comment-13045576 ]
Yonik Seeley commented on LUCENE-3179: -------------------------------------- Hey Paul, did you try this implementation against Long.numberOfLeadingZeros? The later Oracle Java6 implementations have instrinsified this method, so it might be faster: http://bugs.sun.com/view_bug.do?bug_id=6823354 > OpenBitSet.prevSetBit() > ----------------------- > > Key: LUCENE-3179 > URL: https://issues.apache.org/jira/browse/LUCENE-3179 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Paul Elschot > Priority: Minor > Fix For: 3.3 > > Attachments: LUCENE-3197.patch > > > Find a previous set bit in an OpenBitSet. > Useful for parent testing in nested document query execution LUCENE-2454 . -- This message is automatically generated by JIRA. 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