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 #46578 is a reply to message #46577] Mon, 28 November 2005 15:27 Go to previous messageGo to previous message
leatherback is currently offline  leatherback
Messages: 15
Registered: November 2005
Junior Member
Hi David,

Thanks for your reply. Nope, i do not have money burning a hole in my
pocket. It is more that I know that the flowchart of the actual routine
I am using will be published in a remote sensing journal soon anyway
(Also already available online as chapter 6 in
http://www.itc.nl/library/Papers_2005/phd/ferwerda.pdf). So I do not
really care about people getting the code I used, It has served my
purpose, and I am now applying it to a dataset, where not this code,
but the data it will be processing is crucial.

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.

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 :-(

J.
[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: Sat Nov 29 22:12:04 PST 2025

Total time taken to generate the page: 0.01739 seconds