Skip to content
Test of memory access patterns to different style of object collections
C++ Batchfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
devcpp
.gitattributes
.gitignore
PerfTimer.h
PointerAccessTests.cpp
PointerAccessTests.sln
PointerAccessTests.vcxproj
PointerAccessTests.vcxproj.filters
README.md
Tests.cpp
Tests.h
particles.h
res.xlsx
run_new.bat

README.md

#Pointer Access Tests# std::vector<Obj> vs std::vector<std::shared_ptr<Obj>>

described on a blog post at Code And Graphics - Vector of object vs Vector of pointers Tests

After watching some of the talks from Build 2014 - especially "Modern C++: What You Need to Know" and some talks from Eric Brumer I started thinking about writing my own test case. Basically I've created a simple code that compares vector<Obj> vs vector<shared_ptr<Obj>>. The first results are quite interesting so I thought it is worth to describe thin on the blog. I also think that such test can help me in my particle experiments...

You can’t perform that action at this time.