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

Home » Public Forums » archive » Optimising A = B+C?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Optimising A = B+C? [message #6257] Fri, 31 May 1996 00:00 Go to previous message
kgb is currently offline  kgb
Messages: 3
Registered: May 1996
Junior Member
Does anyone know how IDL optimises A=B+C where
A,B and C are arrays?

I did a test a while ago and it was several times faster
than C code along the lines of:

i=n;
while (i--)
*a-- = *b-- + *c--

(This was on a 2048x2048 array and everything fiited into
physical memory.)


Is it just that it is done in assembler or something?

just curious...

Karl
--
kgb@aaoepp.aao.gov.au [Anglo-Australian Observatory]
----> pubs: http://www.ast.cam.ac.uk/~kgb/papers.html
----> pgperl: http://www.ast.cam.ac.uk/~kgb/pgperl.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: WE NEED YOUR INPUT
Next Topic: another composite image question

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

Current Time: Wed Oct 08 19:32:04 PDT 2025

Total time taken to generate the page: 0.00376 seconds