Vector of Objects vs Vector of Pointers

What’s the performance differences between using vector<Obj> and vector<shared_ptr<Obj>>? The author explains memory access patterns used in his code and why performance is lost in some parts.

Click here to visit link (


Commenting will be coming soon. In the meantime, feel free to create a discussion topic on the forums.