Login
From:
Daniel Lemire's blog
(Uncensored)
subscribe
Data alignment for speed: myth or reality?
https://lemire.me/blog/2012/05/31/data-alignment-for-speed-myth-or-reality/
links
backlinks
Tagged with:
performance
Roast topics
Find topics
Find it!
Some compilers align data structures so that if you read an object using 4 bytes, its memory address is divisible by 4. There are two reasons for data alignment: