Brassaia_eio_pack_io.Utils
module Object_counter (Progress : Progress_engine.S) : sig ... end
val nearest_geq : arr:'a -> get:('a -> int -> 'b) -> lo:int -> hi:int -> key:'b -> int option
nearest_geq ~arr ~get ~lo ~hi ~key returns the index of the nearest entry in the sorted arr that is >= the given key. Routine is based on binary search.
nearest_geq ~arr ~get ~lo ~hi ~key
arr
>=