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

Adrien Grand commented on LUCENE-8970:
--------------------------------------

Maybe we can try to do a quick hack to see how much it could bring, but my 
intuition is that it wouldn't help with performance given that that we are 
looking at a condition that is easily predictable?

> TopFieldCollector(s) Should Prepopulate Sentinel Objects
> --------------------------------------------------------
>
>                 Key: LUCENE-8970
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8970
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Major
>
> We do not repopulate the hit queue with sentinel values today, thus leading 
> to extra checks and extra code.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to