bruno-roustant commented on a change in pull request #430: URL: https://github.com/apache/lucene/pull/430#discussion_r749654605
########## File path: lucene/core/src/java/org/apache/lucene/util/IntroSelector.java ########## @@ -185,6 +204,115 @@ private void shuffle(int from, int to) { } } + /** Selects the k-th entry with a bottom-k algorithm, given that k is close to {@code from}. */ Review comment: Thanks for this idea Adrien. I'll try it. -- 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