Data alignment

Data alignment is the strategy of arranging data in main memory according to certain rules contributing to speed-up of access to them.

When working with memory microprocessors use a machine word of different sizes as a main unit. As a rule, the machine word equals 2^k bytes. When saving a data object into memory some field consisting of several bytes can intersect with the "natural boundary" of words in memory. Some processor models cannot address those data in memory which violate the boundaries of machine words. Others can address data without alignment but less effectively than when addressing the data within the full "machine word" in memory.

Data alignment is performed with the help of empty memory cells between data objects. It increase the size of the data structures but speeds up access to data.


Bugs Found

Checked Projects
Collected Errors
14 526
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →