Sorting a TOrdCollection

From: James M White (jmw@c3serve.c3.lanl.gov)
Date: Wed May 21 1997 - 16:05:48 MEST


Greetings,
	I have a TOrdCollection of TObjStrings that I want to sort.  I
used the Sort() method in the TOrdCollection class but it seems VERY
slow.  It took about 400 CPU second on a Dec Alpha to sort a
TOrdCollection containing 22,000 TObjStrings.  This seems to take
longer than it should and I eventually will need to sort a
TOrdCollection with over 1,000,000 TObjStrings.  Am I doing something
wrong?  Is there a way to speed it up?
				Jim

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jim White                                     505-667-0398
Los Alamos National Laboratory          (FAX) 505-665-5220
MS B-265
Los Alamos, NM 87545
jmw@lanl.gov        http://www.c3.lanl.gov/~jmw/info.shtml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET