Fork me on GitHub
  November 21, 2018, 04:30:27 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Struct Member Alignments  (Read 1696 times)
MechWarrior001
Newbie
*
Posts: 31


View Profile
« on: December 06, 2010, 06:49:28 am »

Can Mineserver benefit from setting this to anything but default?
Logged
ReDucTor
Developer
Newbie
****
Posts: 10


View Profile
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!