"Have you ever used the STL? I did for about 6 months professionally, and I'm glad that I could go back to C and Python. More seriously, object orientation in C++ doesn't come for free. Aside from the pain of the syntax of using C++ templates (and difficult to parse error messages), all of that object orientation hides the complexity of method dispatch in what are known as vtables."
Seriously?
1. Python is faster than C++?
2. All OO features (method invocations) in C++ use the vtable?
IMHO, just using the right iterator abstraction and using the STL algorithms should be within performance limits.