in reply to Re^2: Processing values of a piddle (PDL) speedup using 'at' vs. 'index'
in thread Processing values of a piddle (PDL) speedup using 'at' vs. 'index'
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Processing values of a piddle (PDL) speedup using 'at' vs. 'index'
by kevbot (Vicar) on Jul 18, 2012 at 04:37 UTC |