title: Efficient way to convert int to string
body: <p>I'm creating a game in which I have a main loop. During one cycle of this loop, I have to convert <code>int</code> value to <code>string</code> about ~50-100 times. So far I've been using this function:</p>
  
  <pre><code>std::string Util::intToString(int val)
  {
     std::ostringstream s;
     s &lt;&lt; val;
     return s.str();
  }
  </code></pre>
  
  <p>But it doesn't seem to be quite efficient as I've encountered FPS drop from ~120 (without using this function) to ~95 (while using it).</p>
  
  <p>Is there any other way to convert <code>int</code> to <code>string</code> that would be much more efficient than my function? </p>