title: Is it worth it to avoid polymorphism in order to gain performance?
body: <p>Is it worth it to avoid polymorphism in order to gain performance?</p>
  
  <p>I read in Stroustrup's book that polymorphic function call is within 25%
  more expensive than an ordinary function call. Does this mean I should
  avoid polymorphism whenever possible? I mean should I always be thinking
  something like: OK polymorphism would solve this problem but it might mess
  up performance bla bla... Or given the power of modern CPUs, I should not even
  dare to think that?</p>