Patent ID: 9733908
Date: 2017-08-15
CPC Classifications: G06F

Claim:
1. A method, comprising: compiling a program having an array with two or more dimensions for the array defined in the program as a variable expression that is unresolvable during the compiling; and producing an executable from the compiled program that when executed resolves a size for the two or more dimensions of the array at runtime by evaluating at runtime the variable expression and creating in a contiguous memory region representing the two or more dimensions of the array as a contiguous one-dimensional array of contiguous data within the contiguous memory region and indexed by the two or more dimensions and freeing, during execution of the executable, the contiguous memory region when a body of statements within the executable has completed processing and processing other statements within the executable for creating a new overlay using the contiguous memory region, and maintaining the contiguous memory region as a dynamic array cache reserved for the executable that is separate from a data cache associated with other memory management.