Abstract
Compiling indexing operations on n-dimensional arrays into efficiently executable code is a challenging task. This paper focuses on the reduction of offset computations as they typically occur when transforming index vectors into offsets for linearized representations of ndimensional arrays. We present a high-level optimization to that effect which is generally applicable, even in the presence of statically unknown rank (n). Our experiments show run-time improvements between a factor of 2 and 16 on a set of real-world benchmarks.
| Original language | English |
|---|---|
| Pages | 19-36 |
| Number of pages | 18 |
| Publication status | Published - 01.12.2007 |
| Event | 18th International Symposium on Implementation and Application of Functional Languages - Budapest, Hungary Duration: 04.09.2006 → 06.09.2006 Conference number: 71089 |
Conference
| Conference | 18th International Symposium on Implementation and Application of Functional Languages |
|---|---|
| Abbreviated title | IFL 2006 |
| Country/Territory | Hungary |
| City | Budapest |
| Period | 04.09.06 → 06.09.06 |