in reply to Hash vs constant vs package vs other for data structure

Given this...

the first two dimensions refer to the location of an object and the third refers to properties of that object such as flags and other data

...I'd definitely do this:

Use an AoAoH instead, and refer to each data member by name

YMMV, of course.

  • Comment on Re: Hash vs constant vs package vs other for data structure