in reply to Re^11: Optimizing with Caching vs. Parallelizing (MCE::Map) (PDL: faster)
in thread Optimizing with Caching vs. Parallelizing (MCE::Map)
Immediate surmise: there have been updates to the badvalue detection functionality to allow NaN to be used as a badvalue in 2.040 and fixes to that in 2.064. Ergo, if you do have capacity to performance-test at least isgood and see that's what's slowed down, that will be at least possible to fix. One approach there would be to break out the "badvalue is NaN" branch out of the current broadcast loop into its own loop to avoid constantly checking a value that doesn't change within nearly all operations (the badvalue) to see if it's still (or still not) a NaN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: Optimizing with Caching vs. Parallelizing (MCE::Map) (PDL: faster)
by marioroy (Prior) on May 22, 2022 at 00:39 UTC | |
by etj (Priest) on May 22, 2022 at 00:47 UTC | |
by etj (Priest) on May 31, 2022 at 22:47 UTC | |
by marioroy (Prior) on May 22, 2022 at 00:50 UTC |