From David.Steele@usask.ca Thu Jan 16 08:10:18 1997 Path: tribune.usask.ca!rover.ucs.ualberta.ca!news.bc.net!arclight.uoregon.edu!nntp.uio.no!news.apfel.de!news-fra1.dfn.de!news-koe1.dfn.de!news.kfa-juelich.de!news From: "R. Bauer" Newsgroups: comp.lang.idl-pvwave Subject: looking for sort procedure Date: Wed, 15 Jan 1997 21:53:13 +0100 Organization: Forschungszentrum Juelich Gmbh (KFA) Lines: 28 Message-ID: <32DD43B9.31DF@kfa-juelich.de> NNTP-Posting-Host: ich230.zam.kfa-juelich.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; AIX 1) Hi, It was surprising me that's idl's build-in sort procedure is very very slow. for this example it needs on may RS6000 AIX more than 2 minutes. a = indgen(10000) b = [a,a] print,systime(0) s = b(sort(b)) print,systime(0) end This is much too long. Did someone have a better sort routine which I can have? -- R.Bauer Institut fuer Stratosphaerische Chemie (ICG-1) Forschungszentrum Juelich email: R.Bauer@kfa-juelich.de