开发者

is vb.net row-major or column-major in 2d array allocation?

开发者 https://www.devze.com 2023-01-24 23:12 出处:网络
is vb.net row-major or column-major in 2d array 开发者_JAVA百科allocation?.NET stores 2D arrays in Row Major order.

is vb.net row-major or column-major in 2d array 开发者_JAVA百科allocation?


.NET stores 2D arrays in Row Major order.

Ref. (about half-way down!)

CLI spec (section 8.9.1) states:

Array elements shall be laid out within the array object in row-major order (i.e., the elements associated with the rightmost array dimension shall be laid out contiguously from lowest to highest index). The actual storage allocated for each array element can include platform-specific padding.

0

精彩评论

暂无评论...
验证码 换一张
取 消