C++: Virtual Functions
- Good - used to invoke child method when managing base-class handles
- Expensive - incur an additional pointer de-reference
- one, find VTBL, two, find method, invoke
- bad for caching
- Use when necessary, but not for common objects
- Good for ‘large’ methods that do lots of work
- Bad for ‘small’ methods, like a vertex query