in reply to Reducing Memory Usage
If that is not feasible, you might want to create a sort-file from your original data that consists of the sorting criteria in a directly (ascii-)sortable fixed-length format starting at the beginning of the line and the original data afterwards, separated by a delimiter.
This file can then be sorted by any simple sort program. (if you're on a unix box or have cygwin available, 'sort' should do the job easily and you can tweak the buffer size it uses for optimum performance on your box. After all, sorting files is exactly what it was written for!)
After sorting, just filter out the sorting info and the delimiter again and you have your sorted data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reducing Memory Usage
by PerlingTheUK (Hermit) on Jul 16, 2004 at 09:41 UTC | |
by husker (Chaplain) on Jul 16, 2004 at 15:38 UTC | |
by BrowserUk (Patriarch) on Jul 16, 2004 at 16:41 UTC | |
|
Re^2: Reducing Memory Usage
by danielcid (Scribe) on Jul 16, 2004 at 13:17 UTC |