Re: [Pdl-general] [Pdl-devel] benchmarks

2021-10-02 Thread Luis Mochan
I made my own version of the ray-tracing program (as I tried to understand it). I didn't use pp_def, only Perl and ordinary PDL. I used ndarrays indexed by the three wavelengths and the entrance height, $size of them (I tested $size=1 and 10), so the calculations could have been significant

Re: [Pdl-general] [Pdl-devel] benchmarks

2021-10-02 Thread Ed .
I have now updated the PDL version, which now shows speed comparable to C, and indeed with the pthreading it’s even faster (which isn’t fun to do in pure C, but incredibly trivial in PDL): https://github.com/Fourmilab/floating_point_benchmarks/pull/1 From: Ed . Sent: