Mineserver Community

Mineserver => Development => Topic started by: MechWarrior001 on December 06, 2010, 06:49:28 am



Title: Struct Member Alignments
Post by: MechWarrior001 on December 06, 2010, 06:49:28 am
Can Mineserver benefit from setting this to anything but default?


Title: Re: Struct Member Alignments
Post by: ReDucTor on December 06, 2010, 08:42:01 am
A compiler will often when compiling with speed over size provide padding, the places where this will occur which have more then one instance are probably minimal, The only time when struct member alignments (packing) might be useful is if we where reading in a packet straight as a struct. The benefits are nothing which you will ever notice.