Where to store array(hash)?

In memory?
In code?
As a constant?
In a yaml file?