Hacker News new | past | comments | ask | show | jobs | submit login
Does packed struct hurt performance on x86_64? (attractivechaos.wordpress.com)
7 points by arunc on May 3, 2013 | hide | past | favorite | 1 comment



Argh, one more "works on my computer" article. The answer is dependent on the processor. Intel Cores that are recent enough don't take perrformance hit for unaligned access. But when you compile the code you compile it for every user not for those with the same computers like you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: