Monthly ArchiveOctober 2009
C++ 04 Oct 2009 15:21:48
C++ Map Speeds, MSVC++ Edition
(There is also a GNU g++ Edition of these performance tests, and a newer std::set comparison.)
Here is a complete test of MSVC++ map speeds, using same code as my previous map speed test: timemap.cpp with cycle.h.
The compilers are Microsoft Visual C++ 2008 Express as VC9 and Microsoft Visual C++ 2010 Beta as VC10. The containers are std::map, stdext::hash_map, std::tr1::unordered_map, and boost::unordered_map, each with _SECURE_SCL enabled and disabled.
Continue Reading »