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

This thread seems like a lot of premature optimization. If you don't have an actual performance problem (too much memory used, or some operation is taking too long), then don't worry about it, and definitely don't spend any time re-engineering your existing code.
  • 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 28, 2017 at 00:46 UTC
    It actually was originally intended just to find a way to make my 3D array more readable. Optimization is a side-point that I feel must be taken into consideration when choosing a better solution.