gsmiller commented on PR #13595:
URL: https://github.com/apache/lucene/pull/13595#issuecomment-2263219440

   I _think_ exponential search will only outperform binary search in this case 
if we expect the next target to be relatively close to the "min" we're 
constantly "pushing up" (thanks to your change). Is that the case? 
(Specifically, I think the math works out that exponential search is only 
better if the target is in the next `sqrt(N)` elements where `N` is the size of 
the remaining list being searched... but I could be wrong).


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to