Wiebe,
You said:�Sorry, attachments (and the message that the attachments are in) don't show up in Outlook express. I haven't seen any of them.�
If you use your web browser to come here, http://exchange.ni.com/servlet/Redirect?id=8829120, the downloads are available from links located beneath the associated text. In this case the link is title �dll testing stuff�.
You said:" The routine was replacing a large array, with a smaller array. Each element of the smaller array had to be the average of the corresponding elements in the larger array. But there were some twisted things in the routine. E.g. each part of the large array that was averaged, had to be the same size. The remainder of the large array
had to be copied. The assembler code was 600% faster then the fastest LV code that I could come up with."
Based on your description, 6x faster in assembly is a very believable figure.
You said: "First, the difference might be explained by the newer version of LV. Second, your results are more satisfying, so I'm willing to exept them... Third, a little experiment might be conclusive:
Make a dll, with an array as input.
Pass the pointer to the dll as the return value.
Put the dll several times behind each other.
All return pointers should be the same???
It this was done on an LV4 machine, everything should become clear, I think?"
Hey, now there's an idea. It gets right to the point (�so to speak�sorry that wasn't intentional). Sometimes things aren�t obvious until they�re obvious, but anybody reading this ought to be amused.
Thanks Wiebe,
Kind regards,
Eric