Click here to Skip to main content
15,885,914 members
Articles / General Programming / Performance

Vector of Objects vs Vector of Pointers

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
2 Jun 2014CPOL5 min read 20.5K   18  
How memory access patterns can influence performance of your code

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Poland Poland
Software developer interested in creating great code and passionate about teaching.

Author of C++17 In Detail - a book that will teach you the latest features of C++17!

I have around 11 years of professional experience in C++/Windows/Visual Studio programming. Plus other technologies like: OpenGL, game development, performance optimization.

In 2018 I was awarded by Microsoft as MVP, Developer Technologies.

If you like my articles please subscribe to my weekly C++ blog or just visit www.bfilipek.com.

Comments and Discussions