Project

General

Profile

Feature #3479

Updated by nahi (Hiroshi Nakamura) almost 13 years ago

=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 
 

Back