Iterating over 2D array and placing results in 1D array with the same number of elements

Excellent! This is the kind of response I was hoping for, thanks a lot. I’m going to benchmark this function against C++, so this improvement helps a lot.

1 Like