Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
8.6.2
-
None
-
None
-
New
Description
In the `RadixSelector.select`
private void select(int from, int to, int k, int d, int l) { if (to - from <= LENGTH_THRESHOLD || d >= LEVEL_THRESHOLD) { getFallbackSelector(d).select(from, to, k); } else { radixSelect(from, to, k, d, l); } }
we know that `l` represent the levels of recursion, not the `d`, but when we check the levels of recursion, we use `d >= LEVEL_THRESHOLD`, it's not right.