Talk:Iliffe vector

Latest comment: 1 year ago by AHMartin in topic Jagged array

Jagged array

edit

Is this simply a "jagged array" / "array of arrays"? 87.116.213.216 (talk) 20:44, 30 May 2011 (UTC)Reply

It's an array of pointers to arrays (of pointers to arrays ...).
When used to implement multidimensional rectangular arrays, all of the subarrays are the same size. However, the technique suffices to implement jagged arrays - regardless of whether or not the outer abstraction intends to support jagged arrays.
For example, that fact that a specific ALGOL-60 compiler happens to use Iliffe vectors to implement arrays does not mean that the implementation provides jagged array support.
15:10, 26 September 2023 (UTC) AHMartin (talk) 15:10, 26 September 2023 (UTC)Reply