Innovation Award
 September 2008
Winner |
Sometimes it is necessary to search a large amount of data for given information.
One way to reduce the time that is necessary to search the data is to store it in a file sorted by the key search values. Then we can used the binary search algorithm to quickly find the data in the file without having to load it all at once in memory.
This class implements the binary search algorithm in pure PHP code.
Manuel Lemos |
This class can be used to quickly search for sorted data in large files using the binary search algorithm.
It can search for a given identifier in a file that has lines that contain only the identifier and a value separated by a tab character.
The class uses the binary search algorithm to quickly narrow the search for a given identifier even when the files are very large.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Perfect (100.0%) |
Good (91.7%) |
- |
Perfect (100.0%) |
- |
- |
Sufficient (69.2%) |
188 |
| Month: |
There are not enough user ratings to display for this class. |
| Link |
Description |
| Another PHPClasses victory |
Another my class has become a winner of PHP Classes Innovation Award - it’s the implementation of Binary Search algorithm... |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.