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

Home » Public Forums » archive » Interesting property of sort
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: Interesting property of sort [message #54084 is a reply to message #53994] Wed, 16 May 2007 08:55 Go to previous messageGo to previous message
wlandsman@jhu.edu is currently offline  wlandsman@jhu.edu
Messages: 12
Registered: September 2006
Junior Member
> Humm. Well, I haven't looked at it in a long time.
> Looks to me like BSORT uses the IDL SORT command to
> get the initial cut. (And I have NO idea what algorithm
> is used for that. It is the standard OS SORT routine,
> I'm sure.)
>
That's right, the IDL SORT uses the sort algorithm of the OS, so the
way it treats equal values depends on the OS. From previous
discussions here, I believe that most Linux systems preserve order for
equal values, but Windows and Mac OSX do not. I've been tempted to
update bsort.pro to just call SORT if the user is on the "right" OS,
but that sort ( pun intended) of coding is difficult to maintain. --
Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: why I can't use the max memory available?
Next Topic: embedded formatting hell: x-bar meaning "mean of x"

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

Current Time: Fri Oct 10 05:51:12 PDT 2025

Total time taken to generate the page: 1.44079 seconds