Actions
Feature #3479
closedArray#binary_find et al
Feature #3479:
Array#binary_find et al
Description
=begin
It would be quite handy to have a method for searching through an Array, when sorted, using binary search.
Apparently doing this in C would be ideal [1].
So this is a feature request for the same
Array#binary_index
Array#binary_find (or binary_search, whichever the commiter prefers).
Thanks much.
-r
[1] http://github.com/tyler/binary_search
=end
Actions