Posts Tagged ‘misaligned’

New article – Aligned vs. unaligned memory access

This concludes a long research that I’ve made. I wanted to know if unaligned memory access is really that bad, or not a big deal. Eventually I made some quiet interesting discoveries. Read on.

Aligned vs. unaligned memory access

Table of contents Introduction The theory Measurements Implementation Meet the hardware Implementation details The code The results Conclusions Postscript IntroductionBACK TO TOC So many times I’ve heart people mentioning aligned memory access. I even protected memory alignment considerations when argued over some software design with my colleagues. I wanted to add few padding bytes into […]