find_by_comparator
container.sorted_array.find_by_comparator
Postcondition
post
match result
i i64 => cmp sorted_array.this[i] = equal
nil => true0.099dev (GIT hash 2c24371feaa6ecef7ae72d17f7079ce5129a518e)
post
match result
i i64 => cmp sorted_array.this[i] = equal
nil => true
The guaranteed performance is in O(log n) comparisons.
result is the index where cmp results in 0 or nil if no such index
was found in this array. In case several instance equal match,
the index of one matching key will be returned, but is not
specified which one.
NYI: CLEANUP: find better name