summaryrefslogtreecommitdiffstats
path: root/devel/p5-Search-Binary/pkg-descr
blob: 3a8c2cb815d2516bd2be9f52dba87c9a67d3b2b9 (plain)
1
2
3
4
5
6
7
8
9
Binary_search implements a generic binary search algorithm returning the
position of the first record whose index value is greater than or equal
to $val. The search routine does not define any of the terms position,
record or index value, but leaves their interpretation and
implementation to the user supplied function &$read(). The only
restriction is that positions must be integer scalars.

-Anton
<tobez@tobez.org>
OpenPOWER on IntegriCloud