I take values from these pdls, check them to see if they are a special value, change the value if needed, and then put them into a perl array.
I would say that is entirely the wrong way to do it.
You need to export the piddle in order to print it. So export it first; then search that for your special values; and only access the piddle elements individually if you find the special value in the exported array -- just to update it with the new value.
In reply to Re^3: Processing values of a piddle (PDL) speedup using 'at' vs. 'index'
by BrowserUk
in thread Processing values of a piddle (PDL) speedup using 'at' vs. 'index'
by kevbot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |