title: Any performance hit or overhead for wrapping public methods?
body: <p>I'm writing a class to handle a custom content type for WordPress. WP's native custom post type + custom post meta (which resides in a table without indexes) is not an option because I need some metadata columns stored in the same table and have them indexed.</p>
  
  <p>But for cleaner and simpler code in my templates I'd like to define custom template functions, which are basically wrappers for class methods. For example, there's a native function <code>get_post()</code>, I would like to have a function <code>my_get_event()</code>, the code will be smth like this:</p>
  
  <pre><code>function my_get_event( $args ) {
      return $event-&gt;get( $args );
  }
  </code></pre>
  
  <p>What I would like to know about this approach:</p>
  
  <ol>
  <li>Is there any performance hit if I have, let's say, 5 different classes and 50-60 wrapper functions in total?</li>
  <li>Is there any memory footprint increase?</li>
  <li>Maybe there's another way to go?</li>
  </ol>