\"\" \"\" \"\"
Go up to Arrays
Go forward to Definition
RISC-Linz logo

Representation

 

An array of type Array<T> is represented as follows:

The array block is prefixed by two words that hold the size of the block and the number of array slots, respectively. The size of the array block is therefore the sum of the sizes of two integer words and of n T objects. The size of Array<T> is the pointer size of the machine.
Author: Wolfgang Schreiner
Last Modification: April 12, 1997