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

Home » Public Forums » archive » Random-access of List() progressively slower for static list
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: Random-access of List() progressively slower for static list [message #88515 is a reply to message #88512] Mon, 05 May 2014 05:28 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
> Oops, too quick there. jj should be ii[jj]. Complexity no longer peculiar, only the overall slowness.

Just saw that you already corrected this... sorry for the double correction. However, terribly slow.

>> In the first part, exchanging active and commented-out equivalent code gives equally unsatisfactory results in the list creation phase.
>
> This comment still holds.

I hope at least that the explanation helps (linked list)

>> List(), for all its nice properties, is not fit for (my) purpose in this version of IDL.
>
> This comment still holds.

Did you consider a pointer array? This should be much quicker in the random access.

>> Processed 45000 elements, the last 5000 in 72.3194 seconds
>
>
>
> With actual random access, the first 5000 accesses are all that are finished in the time I takes me to write this:
>
>
>
> Processed 5000 elements, the last 5000 in 398.297 seconds

Yes, you were patient. I reduced 5000 to 500 and let it run only once...

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plotting a vector field in 3d
Next Topic: Still can't get Slither to work :(

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

Current Time: Thu Oct 09 08:03:05 PDT 2025

Total time taken to generate the page: 0.55835 seconds