The Little Things: The Missing Performance in std::vector

Open link in next tab

The Little Things: The Missing Performance in std::vector

https://codingnest.com/the-little-things-the-missing-performance-in-std-vector/

`std::vector` is often said to be the default container, because it provides good baseline performance for common operations. Recently, I experimented with a simple API change that can improve the performance of a common usage pattern by 10+ %.