Project Aims For 5x Increase In Python Performance
cocoanaut writes "A new project launched by Google's Python engineers could make the popular programming language five times faster. The project, which is called Unladen Swallow, seeks to replace the Python interpreter's virtual machine with a new just-in-time (JIT) compilation engine that is built on LLVM. The first milestone release, which was announced at PyCon, already offers a 15-25% performance increase over the standard CPython implementation. The source code is available from the Google Code web site."
I smell bullshit. There is no overhead from using STL containers.
If you used an std::list or an std::map for random access, then you certainly had a bottleneck, because those containers are not for random access.
If you used an std::vector, you couldn't have a bottleneck, for the simple reason that the std::vector is an array.