in reply to The most efficient way for searching for an element in an array?
150 entries in an array is trivial (unless you are doing something really dumb with the array). However, for code clarity and maintenance a hash is likely to be a better fit for your task, whatever it really is. I suspect though that a database is what you should really be using!
|
|---|