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.

Required Ruby Version

None

Authors

Stefan Plantikow

Versions

  1. 0.1 May 28, 2012 (8 KB)

SHA 256 checksum