3 ms·
> Even on x86 where it's supported, you want to avoid doing unaligned reads at all costs because they're up to 2x slower than aligned accesses. This is general
by saagarjha 3y ago
> Even on x86 where it's supported, you want to avoid doing unaligned reads at all costs because they're up to 2x slower than aligned accesses.
This is generally not true.
- von_lohengramm 3y agoIt is generally true because "up to" includes the same speed. However, unaligned memory can significantly impact caching.