According to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html
vector
is between 2% and 70% faster in EASTL than a \"comm
I think this passage from the documentation will be crucial
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html#eastl_allocator
It is apparently inspired by the famous 'Towards a better allocator model' article by Pablo Halpern
The document states that they used VC++ 2005 for Windows testing, with which checked iterators are enabled by default (yes, even for release builds; same goes for VC++ 2008). I suspect that the performance of operator[]
wouldn't be any different if they added -D_SECURE_SCL=0
to their build command-line.