Alex Young
6/26/2007 7:16:00 AM
Aaron Smith wrote:
> is there an alternative to Array#index? Faster version maybe?
>
Change the problem so that you're reading from a hash? Maintain an
index hash alongside the array? Keep the array sorted somehow? It
depends on the problem you're trying to solve, really...
--
Alex