Hi Greg,

Thanks a lot for your answers. The key I was looking for was
this mult and such functions, which operate on piddles
without generating new ones. Your comments have really
been helpful on this.

 I have run a version of mandel optimised along these lines.
I do get a performance increase and in fact the sys time
goes almost to zero (see figures below). Unfortunately
the user time goes up significantly

secs                         real       user         sys          total=user+sys
PDL                   649.295    329.347   319.703        649.050
PDL optimised   485.754    484.821       0.664        485.485

 Why is this happening? Am I doing something wrong here?
Is there a way to get the same user time as in the straight PDL
version (329 secs) and almost zero sys time?
Code attached.

 Many thanks again,

 Xavier

Attachment: mandel_optimised.pl
Description: Perl program

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to