in reply to Fast/Efficient Sort for Large Files
Have a look at the schwartzian transform. Google or super search on it, and you'll get lots of hits
What is does is, it takes a subset of your strings
and sorts these, and than uses the whole array, and rearrages it based on the sorted subset.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fast/Efficient Sort for Large Files
by tommyw (Hermit) on Dec 19, 2002 at 12:27 UTC | |
|
Re^2: Fast/Efficient Sort for Large Files
by Aristotle (Chancellor) on Dec 19, 2002 at 13:42 UTC |