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

Home » Public Forums » archive » Re: position matching
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: position matching [message #54087 is a reply to message #54001] Wed, 16 May 2007 07:09 Go to previous message
cmancone is currently offline  cmancone
Messages: 30
Registered: May 2007
Member
I attempted your suggestion, and it certainly helped. Execution time
went from about 2 minutes to roughly 5 seconds. I'd say that's quite
an improvement. I'm sure it could get faster, but I think 5 seconds
is good enough.

On May 15, 11:25 am, Edd Edmondson <e...@cheetah.slarti.org.uk> wrote:
> Edd Edmondson <e...@cheetah.slarti.org.uk> wrote:
>> Since you need a search within a given radius (from your other post)
>> I'd first sort the longer list and use a binary search to get the
>> subset of stars within that radius in one coordinate.
>
> ^^
> or um, just a WHERE(). I've clearly spent too long out of IDLland.
>
> --
> Edd
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to write a K with a hat symbol above
Next Topic: Defining IDL structures given variable type, width and precision

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

Current Time: Fri Oct 10 17:25:53 PDT 2025

Total time taken to generate the page: 0.47991 seconds