Hi Luis,
That was very interesting in the part about Raku, and I think I agree with the
author’s comments about that language.
I have made a (so-far very naïve) PDL version, visible at
https://github.com/Fourmilab/floating_point_benchmarks/pull/1/files?diff=unified&w=1.
This caused some diffic
The pull request now also shows my attempt with a PP function. It’s about twice
as slow as pure-Perl (rather than 70 times with the naïve version). The way
this would benefit performance-wise would be to trace rays through many more
surfaces than 4, or (as mentioned below) with a large number of
I was thinking that the problem was better suited to using a vector
approach, but I haven't been able to find the original article or reference
to the technique and I haven't sat down and worked it out from Wyld's
loops. I also haven't seen any output from Walker's benchmark scripts. I
ended up d