High performance JS map for int-string pairs
<p>I need a high performance map in Javascript (hashmap or whatever) that maps <code>int</code>(s) to <code>string</code>(s). The map would be used to build some sections of the webpage after dom is ready. I know simple javascript object also works like a map but I need to work with best performance. </p>

<p>I would like to initialize the map with all data pairs just at once by appending a string to the webpage while generating the response page from server.</p>

<p>Any ways how to improve performance of javascript map for int- string pairs or are there any  implementations for the same ?</p>

<p>--</p>

<p>Using jQuery 1.7</p>
