logoalt Hacker News

gritzkoyesterday at 7:40 AM1 replyview on HN

That better be marked "historical". At least, Lemire says:

On recent Intel and 64-bit ARM processors, data alignment does not make processing a lot faster. It is a micro-optimization. Data alignment for speed is a myth. // https://lemire.me/blog/2012/05/31/data-alignment-for-speed-m...

(while in the olden days, a program may crash on unaligned access, esp on RISC)


Replies

eruyesterday at 7:45 AM

Don't mix up what processors do with what the C standard allows you to get away with.

show 1 reply