Hi.

I'm working on improving the efficiency of some PDL code I'm working
on. Can anybody think of a way to make the following more efficient?

Suppose that @l is a list of equally-dimensioned 1D piddles. I want to

  print ${ cat(@l)->transpose->get_dataref };

I.e. I want to print the binary representation of the data in the
piddles, in an interleaved way. The piddles in @l could be vaffine, and
I'd prefer to not make them physical (as get_dataref does). Using PP
makes them physical as well. The piddles in @l could also have
different types, and I'd like to use the original type if possible,
without converting (cat() does convert above). I tried several things,
but none can beat the simple snippet above in performance. Any ideas?

Thanks
dima

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

Reply via email to