polars_utils

Module binary_search

Source

Traits§

Functions§

  • Find the index of the first element of arr that is greater or equal to val. Assumes that arr is sorted.
  • Find the index of the first element of arr that is greater than val. Assumes that arr is sorted.