Fons and Jim,
Here is my view on the problem:
The QSORT algorithm is fine if you have enough memory, but it seems to
drive the paging disks crazy if you don't.
This morning I tried Fons's example on a NT machine with 96 MB but I
gave up waiting for it to terminate !!
Then I reduced the size to 500.000 strings (the space requirement is
then 65-70 MB) and the unoptimised version of the example terminated in
39 seconds !
So with this algorithm the rule seems to be: Make sure you have enough
REAL memory to hold the whole TObjArray.
Sverre
_________________________________________________
Sverre Jarp Email: Sverre.Jarp@Cern.CH
IT Department Phone: +41.79.201.0134
CERN Phone at CERN: 16.0134
CH- 1211 Geneva 23 Fax: +41.22.767.7155
_________________________________________________