bin_search 0.1
Pure ruby implementation of binary search for Ruby arrays and similiar data structures. Supports ascending and descending sort order, searching for exact and nearest matches, and has a versatile API. Uses linear search for small arrays to make use of the internal cache of moden CPUs.
Gemfile:
=
安裝:
=
版本列表:
- 0.1 May 28, 2012 (8.0 KB)