I have a data set of 65K samples in 7 blocks: `float arr[7][65536]` I need to calculate the mean for each corresponding 7 numbers so the result will be an array of size 65536:

```
float result[0] = arr[0][0] + arr[1][0] + arr[2][0] + ... / 7
float result[1] = arr[0][1] + arr[1][1] + arr[2][1] + ... / 7

```

The problem is that accessing the memory not sequentially will create many cache misses, Is there a better way in terms of memory to approach this problem?
Reshaping the array in advance suffers from the same memory inefficiency.

Thanks.