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

"the first two dimensions refer to the location of an object ..."

Why? This seems to be the root of your problem.

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

Replies are listed 'Best First'.
Re^2: Hash vs constant vs package vs other for data structure
by oldtechaa (Beadle) on Mar 27, 2017 at 19:07 UTC
    This array is holding the data from a custom GTK widget and I need to know every point in a grid on the widget to store data from. Obviously, a two-dimensional access is the easiest way of managing it.
      This makes no sense ...