good first issue
倉庫指標
- Star
- (1,775 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
We state
/** Performs a binary search, returns an index using the same convention as java.util.Arrays.binarySearch. */
final def search[@sp A: Order](as: Array[A], item: A, lower: Int, upper: Int): Int = {
However, our convention is to search the interval [lower, upper] inclusive, whereas java.util.Arrays.binarySearch excludes the upper bound.