[ 
https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617631#action_12617631
 ] 

Yonik Seeley commented on LUCENE-1345:
--------------------------------------

Eks: just for grins, you can sometimes save a single cycle by changing "id==-1" 
to "id<0" (many operations on x86 automatically set status flags, hence 
comparison to zero can often be free).  Not sure if the java optimizer will 
catch it though, and if it does if it would actually rise above the noise level.

> Allow Filter as clause to BooleanQuery
> --------------------------------------
>
>                 Key: LUCENE-1345
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1345
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: DisjunctionDISI.patch, DisjunctionDISI.patch, 
> LUCENE-1345.patch, LUCENE-1345.patch, TestIteratorPerf.java
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to