1. A method for compiling source code comprising: in a compiler, identifying a structure array, having a plurality of array elements, each array element being a structure with a plurality of fields; and performing structure instance interleaving on the structure array by permuting access to the fields of the structure without altering a physical layout of the structure array; and generating compiled code including the permuted access to fields of the structure.