ChrisHegarty commented on code in PR #12903:
URL: https://github.com/apache/lucene/pull/12903#discussion_r1422222445
##########
lucene/core/src/java/org/apache/lucene/util/MSBRadixSorter.java:
##########
@@ -214,6 +214,12 @@ protected int getBucket(int i, int k) {
* @see #buildHistogram
*/
private int computeCommonPrefixLengthAndBuildHistogram(int from, int to, int
k, int[] histogram) {
+ int commonPrefixLength = computeInitialCommonPrefixLength(from, k);
+ return computeCommonPrefixLengthAndBuildHistogramPart1(
+ from, to, k, histogram, commonPrefixLength);
+ }
+
+ private int computeInitialCommonPrefixLength(int from, int k) {
Review Comment:
Done.
[16f91f6](https://github.com/apache/lucene/pull/12903/commits/16f91f6c7dc8a05b3c05de888362999aea01d4f2)
--
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]