Does anyone know the performance hit if any of using a hashtable array and iterating over the keys versus a javascript array and looping through all the entries?
Is it a big difference or pretty much the same, and therefore the only faster way is to use a built-in .NET array?
A hashtable lookup is much faster in the general case than searching through an array until you find the correct item. On average, the iterative search will need to look through half the items before finding the correct one. A hashtable uses a neat trick that lets it jump over most of the array elements and start the search very close to the target.