Javascript making map access fast
<p>Map size is around 2000 elements. When accessing the map with key's it works good on chrome but firefox crashes sometimes. Is there a way to map the access fast. I am using jQuery too.</p>

<pre><code>var map=new Object();
map[1] =blah;
..
map[3000] =blah3000;
</code></pre>

<p>access randomly any element. What would be an optimal solution?</p>
