title: Speeding up virtual function calls in gcc
body: <p>Profiling my C++ code with gprof, I discovered that a significant portion of my time is spent calling one virtual method over and over.  The method itself is short and could probably be inlined if it wasn't virtual.</p>
  
  <p>What are some ways I could speed this up short of rewriting it all to not be virtual?</p>