title: dynamic_cast overhead in C++
body: <p>I know that dynamic_cast have runtime check and therefor consider safer (can return null pointer on failure) but slower then static_cast. but how bad is the overhead between the two?</p>
  
  <p>should I realy consider use static_cast in loops for performance issues in regular large projects? or the difference is minor and only relevant for special real-time programs.</p>