I was wondering, as long as all included assignments have no side effects except transferring a binary value to an address, isn't it more efficient to just copy the bytes from the source object pointer to the target instead of assigning each target member to each source member?
As a sub-question... I was wondering how does the reading mode influence the memory controller load. Obviously, it is most efficient when the MC reads its full width from properly aligned address. Maybe it will be more efficient to consolidate all members to a sequence of maximum wide datatypes for the alignment, e.g. if the MC is 64 bit and the member data set is 10 bytes, then copy a 64 bit and a 16 bit value, even if the members are say 10 char
s, so copying this way will saturate the MC better than copying each member char at a time.