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

Home » Public Forums » archive » Re: My code is way to slow.. How can I optimize!?
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: My code is way to slow.. How can I optimize!? [message #46576 is a reply to message #46573] Mon, 28 November 2005 15:43 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
jelle.ferwerda wrote:

> Anyway. It basically is a series of nested routines, within which I
> perform regressions on subsets, and generate statistics of these
> regressions. Since about 300 lines of the code fall within these loops,
> i am not particularly sure which parts take most of the time. It
> probably is part of an array concenation part, which in a normal
> dataset is performed about 500,000 times. But it could also be the
> regression which is also performed about 500,000 times.

Before you need to know *how* to optimize, you need to know *what* to
optimize. Check out the docs on the PROFILER procedure. Use it to
determine where your program is spending time. Then start asking the
how questions.

> I am convinced that my code is sub-sub-sub optimal. Just do not know
> where to start optimizing it, as I am not a programmer, but a mere
> ecologist :-(

We'll try not to hold that against you. :) Heck, I was a wildlife
biologist once. Hummm. That probably explains a lot about my code.


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Quick question about creating tiff files.
Next Topic: Re: Large array memory problem.

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

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

Total time taken to generate the page: 0.01834 seconds