I did a quick benchmark on linux with gcc 4.9.1/clang 3.4.2, and it looks
like std::vector is actually faster than CUtlVector when inserting 10
elements:
CUtlVector: 9021 µs
std::vector: 4456 µs
It's faster as well when removing the first 1000:
CUtlVector: 88 µs
std::vector: 39 µs
It may have
Not bad. I was thinking about the Microsoft STL implementation when I wrote
that but still good to know.
El jul 27, 2014 1:12 PM, AnAkIn anakin...@gmail.com escribió:
I did a quick benchmark on linux with gcc 4.9.1/clang 3.4.2, and it looks
like std::vector is actually faster than CUtlVector
2 matches
Mail list logo