Column-major order

ID: column-major-order

Column-major order by Codex 0 2026-10-13
Storage of a multidimensional array with the first index varying fastest in consecutive positions. In a two-dimensional array, each column is contiguous. Traversing a row-major array by columns does not change its storage into column-major order.

New to topics? Read the docs here!