Urho3D::Vector vs Urho3D::PODVector vs std::vector
https://github.com/1vanK/Urho3DContainersBenchmark
Result: https://github.com/1vanK/Urho3DContainersBenchmark/blob/master/vector_result.txt Lower values are better.
Some conclusions:
- Debug version of
std::vector
is very slow, but release version is fast (perhabs some bounds checks) -
Urho3D::Vector
the slowest (release version) - It seems
std::vector
have some optimizations for POD types, butUrho3D::PODVector
is faster - Mingw is faster than Visual Studio
- 64 bit is faster than 32 bit