Function polars_utils::binary_search::find_first_gt_index
source ยท pub fn find_first_gt_index<T>(arr: &[T], val: T) -> usizewhere
T: Ord,
Expand description
Find the index of the first element of arr
that is greater
than val
.
Assumes that arr
is sorted.