Age | Commit message (Collapse) | Author | Files | Lines |
|
addresses PR pkg/19416
|
|
Supplied by pkg/15811 by iwamoto at sat.t.u-tokyo.ac.jp (IWAMOTO Toshihiro).
2001-12-10 Satoru Takabayashi <satoru@namazu.org>
* Ruby/Bsearch: Version 1.5 released.
* bsearch.rb (Array::bsearch_range): Take &block and pass &block.
(Array::bsearch_last): Likewise.
(Array::bsearch_first): Likewise.
(Array::bsearch_lower_boundary): Likewise.
(Array::bsearch_upper_boundary): Likewise.
2001-11-16 Satoru Takabayashi <satoru@namazu.org>
* tests/test.rb (check_boundaries): New method.
|
|
|
|
Changes from 1.1 are bellow.
2001-10-19 Satoru Takabayashi <satoru@namazu.org>
* Ruby/Bsearch: Version 1.4 released.
* tests/test.rb (lookup): Add assertions.
* bsearch.rb (Array::bsearch_lower_boundary): Use .to_i for
working with mathn.rb (Rational).
Thanks to Nenad Ocelic <nocelic@medri.hr> for reporting it.
(Array::bsearch_upper_boundary): Likewise.
2001-09-12 Satoru Takabayashi <satoru@namazu.org>
* Ruby/Bsearch: Version 1.3 released.
* bsearch.en.rd: Update documentation .
* bsearch.ja.rd: Likewise.
2001-08-16 Satoru Takabayashi <satoru@namazu.org>
* bsearch.rb (bsearch_lower_bound): New method.
* bsearch.rb (bsearch_upper_bound): New method.
* bsearch.rb (bsearch_range): Return the range consisting of
bsearch_lower_bound and bsearch_upper_bound.
2001-07-03 Satoru Takabayashi <satoru@namazu.org>
* Ruby/Bsearch: Version 1.2 released.
* Rewrite documents with rdtools.
|
|
Ruby/Bsearch is a binary search library for Ruby. It can search the
FIRST or LAST occurrence in an array with a condition given by a
block.
|