On 7/9/2010 12:24 PM, Judd Taylor wrote: > > For me personally, if I want something very simple that is guaranteed to > be very fast, I go immediately to PDL::PP and write a quick sub to do > this. You can spend 5 minutes using Inline PDL::PP to develop what > works, and then put the code in a library somewhere for future use. You > get code that's easier to maintain that way, IMO, as it doesn't need to > be as "clever" as the perl level PDL code.
I can second Judd's comment here. My recent fix to lu_decomp and lu_backsub to make them thread was quite laborious to get right. It is *much* easier to manage threading at the PP level. I have wondered if there were some way to simplify the writing of properly threaded code at the perl+PDL level so that testing the edge cases would not be quite so difficult.... --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
