bruno-roustant commented on a change in pull request #404:
URL: https://github.com/apache/lucene/pull/404#discussion_r734035237



##########
File path: lucene/core/src/java/org/apache/lucene/util/IntroSorter.java
##########
@@ -35,51 +38,102 @@ public final void sort(int from, int to) {
     quicksort(from, to, 2 * MathUtil.log(to - from, 2));
   }
 
+  /**
+   * Sorts between from (inclusive) and to (exclusive) with intro sort.

Review comment:
       I think yes, because we still fallback to heap sort if the recursive 
stack goes too large.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to