comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: looking for sort procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: looking for sort procedure [message #7750] Thu, 16 January 1997 00:00 Go to previous message
kak is currently offline  kak
Messages: 16
Registered: February 1995
Junior Member
"R. Bauer" <r.bauer@kfa-juelich.de> writes:

> 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.

Hi all,

there seems to be a bug in the implementation of this routine:
I tested it on a SUN Ultrasparc and on an IBM RS6000, which
has about the same speed (at least for the Monte Carlo simulation
coded in F77, which usually runs on these boxes).

Result for SUN: below 1 second, 6 seconds for a=lindgen(100000L)
Result for IBM: about 145 seconds

Is this a known bug/feature? There seems to be a major problem
either in the implementation of sort or in the way it uses
the machine's resources (bad optimization?).

Karl
--
--
IPP, PO Box 1533 | Phone: +49-89-3299-1655 | E-Mail:
D-85740 Garching | FAX : +49-89-3299-1149 | krieger@ipp.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: File handeling architecture hints wanted
Next Topic: Resource temporarily unavailable

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:13:23 PDT 2025

Total time taken to generate the page: 0.00377 seconds