r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Sep 24 '26
About alignment, struct layout and the cache...
https://meetingcpp.com/blog/items/About-alignment--struct-layout-and-the-cache---.html
36
Upvotes
View all comments
Show parent comment
2
u/CantThinkOfAnyName Sep 26 '26
Hey, just found this comment and I was intrigued by it since I always thought it's the pointer indirection and the cache miss it incurs that makes list perform bad.
Can you explain more about what you mean that it's the data dependency issue?
What I understood is this:
But I feel like I'm missing something here, thanks in advance!