Influence of Array Storage and Access Methods on Performance of Multi-Dimensional Arrays Used in Programs with High Cache Reuse Tian Jin and David Wonnacott
Multi-dimensional Array Access Pattern 1). Array of Pointers A layer of pointers pointing to discontiguous memory blocks 2). Calculation Contiguous blocks of memory accessed by computing memory location
Which Is Faster Normally, access by calculation Not the case when cache reuse is high
Recommend
More recommend