Quantcast
Channel: Bartek's coding blog
Viewing all articles
Browse latest Browse all 325

Vector of Objects vs Vector of Pointers And Memory Access Patterns

$
0
0

Memory access patterns are one of the key factors for writing efficient code that runs over large data sets. In this blog post, you’ll see why there might be a perf difference of almost 2.5x (in both directions!) when working with a vector of pointers versus a vector of value types.

Let’s jump in.

Read more...

Viewing all articles
Browse latest Browse all 325

Trending Articles