title: C++ most efficient way to convert string to int (faster than atoi)
body: <p>As mentioned in the title, I'm looking for something that can give me more performance than atoi. Presently, the fastest way I know is </p>
  
  <pre><code>atoi(mystring.c_str())
  </code></pre>
  
  <p>Finally, I would prefer a solution that doesn't rely on Boost. Does anybody have good performance tricks for doing this?</p>
  
  <p>Additional Information: int will not exceed 2 billion, it is always positive, the string has no decimal places in it.</p>