You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vhirtham edited this page Jul 9, 2018
·
2 revisions
These guidelines are taken from the paper "What every programmer should know about memory" from Ulrich Drepper.
Classes
"Always move the structure element which is most likely to be the critical word to the beginning of the structure" (p.52)
"When accessing the data structure, and the order of access is not dictated by the situation, access the elements in the order in which they are defined in the structure" (p.52)