in reply to %hash (@array && use constant) in Modules

While hashes are slower to look up than arrays are (~30% at one point), you'll probably find the cost of the method lookups by far swamps the speed loss of using a hash instead of an array for the object itself.
  • Comment on Re: %hash (@array && use constant) in Modules