[
https://issues.apache.org/jira/browse/LUCENE-6040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192356#comment-14192356
]
Paul Elschot commented on LUCENE-6040:
--------------------------------------
Replacing the existing implementation is indeed the goal, but after further
testing, which you've already done.
The initial version of the patch is still here for those curious about the
other implementations.
The selectWithOverflowAndByteLookup() method has an added precondition that the
bit to select must exist.
As I recall this should the case because there is always a bitCount() before
the select() call.
Anyway the existing docidset tests should easily catch this if necessary.
> Speedup broadword bit selection
> -------------------------------
>
> Key: LUCENE-6040
> URL: https://issues.apache.org/jira/browse/LUCENE-6040
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/other
> Reporter: Paul Elschot
> Priority: Minor
> Attachments: LUCENE-6040.patch
>
>
> Use table lookup instead of some broadword manipulations
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]