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 #54086 is a reply to message #53994] Wed, 16 May 2007 07:23 Go to previous messageGo to previous message
cmancone is currently offline  cmancone
Messages: 30
Registered: May 2007
Member
Ahhh... Bsort = bubble sort (duh!). I glanced at the code for bsort
real fast, but I didn't look in depth. I thought it used the built in
IDL sort routine and then added some code to force it to keep stuff in
the proper order. I didn't realize it's a whole new implementation of
a bubble sort. Do you happen to know what type of sort the built in
idl sort routine implements?

On May 16, 9:50 am, David Fanning <n...@dfanning.com> wrote:
> cmanc...@ufl.edu writes:
>> excellent point, thanks for the tip. Out of curiosity, does bsort add
>> a lot of overhead compared to a regular sort?
>
> I don't know. I rarely sort a million things. :-)
>
> My experience with NASA Astronomy routines is that
> there are fewer IDL programs any better. This is a
> bubble sort. Not the fastest sorting algorithm in
> the world, probably. But at least you know it is
> accurate.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Tue Dec 02 10:54:25 PST 2025

Total time taken to generate the page: 1.27957 seconds