in reply to Re^4: Hash vs constant vs package vs other for data structure
in thread Hash vs constant vs package vs other for data structure

Constants set up with constant are inlined by the compiler (Constant Functions) and should be a little bit faster, and "safer" (no one can accidentally change your variables).
  • Comment on Re^5: Hash vs constant vs package vs other for data structure