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

Home » Public Forums » archive » Re: Maximum Likelihood processing time
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: Maximum Likelihood processing time [message #38507 is a reply to message #38421] Wed, 10 March 2004 02:28 Go to previous message
lbusett is currently offline  lbusett
Messages: 9
Registered: March 2004
Junior Member
> Hello,
>
> I think what you are seeing is that when a routine is first called, IDL
> has to search for it and (possibly) compile it. Subsequent calls don't
> have to be compiled.
>
> You could compile the routines before running the routine (see .compile)
> or you could perform your comparisons only after the routine has been
> called at least once.
>
> Ben

Hi Ben,

thanks for your answer. Unfortunately, I dont' think that this is
the (only) problem. I'll try to explain what happens with an example:

- I run the classification for the first time with 5 bands, and I get
a processing time of 12 seconds. Now, all the routines have been
compiled, and, if your suggestion is correct, the processing time
should be constant for further classifications, but I noticed the
following problem:

- If, after the first 5 bands classification, I run a 50 bands
classification, the processing time is about 300 seconds.

- If, after the 5 bands classification, I run an intermediate 45
bands classification (which takes about 275 seconds), and then a 50
bands classification, the time required for the 50 bands
classification decreases to about 85 seconds !

- If now I quit IDL, restart it, and perform again the 50 bands
classification, I get a processing time of 15 seconds !

Now, I think that this behaviour could be related to a "memory
allocation" problem, but I don't know how to manage it.

Does anyone have a suggestion ?

Thanks for the help,


Lorenzo
[Message index]
 
Read Message
Read Message
Previous Topic: Square Assignment Problem
Next Topic: Call_external

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

Current Time: Sun Nov 30 20:30:12 PST 2025

Total time taken to generate the page: 0.00206 seconds