Alexey Salmin wrote:

> I always thought that unaligned access is much slower than aligned one.

It is not *MUCH* slower, just slower (unless you cross cache line
boundary). Unaligned accesses are very useful for improving
performance of, among other things, certain hash functions (e.g. Paul
Hsieh's one).

Best regards,
Piotr Wyderski

Reply via email to