If, however, your arrays have already been reified to numpy at that point, I can imagine that that is slow. Would you be willing to run line_profiler on the function? That may make it a bit clearer to me. Sorry, something went wrong. Member sjperkins commented Jul 4, 2022 You ...