You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This function is extremely slow.
Describe the solution you'd like
We should look and see if using alternative indexing, similar to what regionprops does, can lead to a performance speedup
The text was updated successfully, but these errors were encountered:
Currently, I'm trying to work a solution that uses 1D indexing; 2D arrays are notorious for cache misses. I've timed it and we get a significant speed up (around 3-3.5x per FOV), just need to ensure correctness.
Got it. I remember when we switched to tuple-based indexing in segmentation it also provided a massive speedup. Not sure if this works for reassignment as well or just for getting values out of the array, can you take a look and see how this compares in terms of performance?
Is your feature request related to a problem? Please describe.
This function is extremely slow.
Describe the solution you'd like
We should look and see if using alternative indexing, similar to what regionprops does, can lead to a performance speedup
The text was updated successfully, but these errors were encountered: