mayya-sharipova commented on issue #1351: LUCENE-9280: Collectors to skip 
noncompetitive documents
URL: https://github.com/apache/lucene-solr/pull/1351#issuecomment-615280419
 
 
   @romseygeek  Are you suggesting to do 
   ```java
   if (updateCounter > 1024 && (updateCounter & 0x1f) != 0x1f) {
   ```
   but this will run optimization even more often which we want to avoid, no?
   
   It the wikimedium1m TermDTSort  case,  `updateCounter` doesn't even reach 20 
(so the optimization doesn't called that many times), but enough to make it 
slower than the traditional sort.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to