 |
|
Innovation award
 Nominee: 2x |
This class can sort large files similar to the UNIX sort command.
It can read the file to be sorted in small buckets associated to temporary files to not exceed the configured PHP memory limits.
The buckets are sorted individually and then merged to produce the final sorted output.
The class provides command line interface options so it can be executed as a command from a shell.
| |
Screenshots |
|
|
 November 2011
Number 7 |
Sorting data is a relatively easy operation to implement in PHP using the many variants of PHP array sorting functions.
However, if you need to sort large amounts of data, that is not very easy, as it may exceed PHP configured memory limits.
This class implements an approach to sort large files similar to the Unix sort command.
It splits a file to be sorted in multiple chunks of limited size and then merges the sorted results into a final output file.
Manuel Lemos |
| Project record: |
externalsort |
| Popularity score: |
14.49 |
| Vitality score: |
14.03 |
| Not yet rated by the users |
| |
Applications that use this class |
|
|
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.
| |
Files |
|
|