title: Find Object By Type vs String
body: <p>I have a abstract component class and an entity class with a vector full of components (the derived possibilities). I want to be able to lookup components. Is it better to look them up by type or by string?</p>
  
  <pre><code>ComponentA* component = entity.getComponent&lt;ComponentA&gt;();
  // vs
  ComponentA* component = entity.getComponent( "ComponentA" );
  </code></pre>
  
  <p>In both instances I'll need a vtable, but only in the later will I need to implement some sort of <code>getName</code> function for every derived class.</p>