Given I have a HUGE array, and a value from it. I want to get index of the value in array. Is there any other way, rather then call Array#index to get it? The p
Array#index
Is there a good reason not to use a hash? Lookups are O(1) vs. O(n) for the array.
O(1)
O(n)