title: Why is integer comparison faster then string comparison?
body: <p>I found comments about avoiding strings for the comparison of values (especially in loops) in a few books because string comparison is a lot slower (using std::string). But why exactly is that?</p>
  
  <p>Is it because integer units in the cpu are working faster?</p>
  
  <p>Strings should be in byte I guess, so wouldn't a byte comparison do the job equally?</p>
  
  <p>Thanks!</p>