title: Javascript Map string vs integer key performance
body: <p>My case is that I need to store a unique key in order to keep track of my millions of models in Javascript, and store the key-value pair in a Map.</p>
  <p>There is an existing uuid library which will generate a string key for me, but I am afraid I would need an integer key in order to achieve optimal performance. However it looks like I will have to convert the string uuid to unique integer myself which is not trivial and has overhead too.</p>
  <p>Is there a significant difference using string as key for a Map or an integer?</p>